2005-05-30 [paul] 1.9.11cvs20
authorPaul Mangan <paul@claws-mail.org>
Mon, 30 May 2005 06:01:01 +0000 (06:01 +0000)
committerPaul Mangan <paul@claws-mail.org>
Mon, 30 May 2005 06:01:01 +0000 (06:01 +0000)
* src/common/template.c
fix Bcc

ChangeLog-gtk2.claws
PATCHSETS
configure.ac
src/common/template.c

index bd711dbc2a59399b5f0c1f68d0292811b8531bd4..6199d3047470d6b6f05c1e0e0e4ef8734acf31bf 100644 (file)
@@ -1,3 +1,8 @@
+2005-05-30 [paul]      1.9.11cvs20
+
+       * src/common/template.c
+               fix Bcc
+
 2005-05-30 [paul]      1.9.11cvs19
 
        * doc/src/rfc2368.txt   **NEW FILE**
index e9a75f3d58d3f84f53cba44d1609052d2669cd58..275fdc4c2bc4ba81c4c0135b772130798a0b0846 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.395.2.70 -r 1.395.2.71 src/summaryview.c; ) > 1.9.11cvs17.patchset
 ( cvs diff -u -r 1.204.2.38 -r 1.204.2.39 src/prefs_common.c; ) > 1.9.11cvs18.patchset
 ( cvs diff -u -r 0 -r 1 doc/src/rfc2368.txt; cvs diff -u -r 1.382.2.121 -r 1.382.2.122 src/compose.c; ) > 1.9.11cvs19.patchset
+( cvs diff -u -r 1.2.4.6 -r 1.2.4.7 src/common/template.c; ) > 1.9.11cvs20.patchset
index 48c7ea7543f74fd83ad3fd961ea6f5e788dce362..11ed24d8866b5b0f8aea1c1a0c32728bbb52a318 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=11
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=19
+EXTRA_VERSION=20
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 2cb5aacdb7a87fba2b5a3e528cf0cd4f724ae0f8..9451249b795685b96d1324f68d831a2705c3d500 100644 (file)
@@ -64,6 +64,8 @@ static Template *template_load(gchar *filename)
                        tmpl->to = g_strdup(g_strstrip(buf + 3));
                else if (!g_ascii_strncasecmp(buf, "Cc:", 3))
                        tmpl->cc = g_strdup(g_strstrip(buf + 3));
+               else if (!g_ascii_strncasecmp(buf, "Bcc:", 4))
+                       tmpl->bcc = g_strdup(g_strstrip(buf + 4));                                              
                else if (!g_ascii_strncasecmp(buf, "Subject:", 8))
                        tmpl->subject = g_strdup(g_strstrip(buf + 8));
        }
@@ -203,8 +205,8 @@ void template_write_config(GSList *tmpl_list)
                        fprintf(fp, "To: %s\n", tmpl->to);
                if (tmpl->cc && *tmpl->cc != '\0')
                        fprintf(fp, "Cc: %s\n", tmpl->cc);
-               if (tmpl->cc && *tmpl->bcc != '\0')
-                       fprintf(fp, "Cc: %s\n", tmpl->bcc);
+               if (tmpl->bcc && *tmpl->bcc != '\0')
+                       fprintf(fp, "Bcc: %s\n", tmpl->bcc);                                            
                fputs("\n", fp);
                if (tmpl->value && *tmpl->value != '\0')
                        fwrite(tmpl->value, sizeof(gchar) * strlen(tmpl->value), 1, fp);