[evolution] Bug #603061 - Use .ics for temp vcalendar files



commit e5883102e426d982875c8840347bdbb72db2f258
Author: Paul Bolle <pebolle tiscali nl>
Date:   Tue Dec 1 21:16:53 2009 +0100

    Bug #603061 - Use .ics for temp vcalendar files

 plugins/tnef-attachments/tnef-plugin.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/tnef-attachments/tnef-plugin.c b/plugins/tnef-attachments/tnef-plugin.c
index f353d15..f18b90b 100644
--- a/plugins/tnef-attachments/tnef-plugin.c
+++ b/plugins/tnef-attachments/tnef-plugin.c
@@ -847,7 +847,7 @@ void saveVCalendar(TNEFStruct *tnef, const gchar *tmpdir) {
     DDWORD ddword_val;
     dtr thedate;
 
-    sprintf(ifilename, "%s/calendar.vcf", tmpdir);
+    sprintf(ifilename, "%s/calendar.ics", tmpdir);
     printf("%s\n", ifilename);
 
     if ((fptr = fopen(ifilename, "wb"))==NULL) {
@@ -1110,7 +1110,7 @@ void saveVTask(TNEFStruct *tnef, const gchar *tmpdir) {
     while (vl->data[index] == ' ')
             vl->data[index--] = 0;
 
-    sprintf(ifilename, "%s/%s.vcf", tmpdir, vl->data);
+    sprintf(ifilename, "%s/%s.ics", tmpdir, vl->data);
     for (i=0; i<strlen(ifilename); i++)
         if (ifilename[i] == ' ')
             ifilename[i] = '_';



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]