add check for '.' to QUOTE_IF_REQUIRED
authorPaul Mangan <paul@claws-mail.org>
Mon, 19 Aug 2002 06:56:26 +0000 (06:56 +0000)
committerPaul Mangan <paul@claws-mail.org>
Mon, 19 Aug 2002 06:56:26 +0000 (06:56 +0000)
ChangeLog.claws
configure.in
src/compose.c

index 3a8ce9c..6d9e3f8 100644 (file)
@@ -1,3 +1,8 @@
+2002-08-19 [paul]      0.8.1claws77
+
+       * src/compose.c
+               add check for '.' to QUOTE_IF_REQUIRED
+
 2002-08-19 [paul]      0.8.1claws76
 
        * src/inc.c
index 134edb4..4e3a35d 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=8
 MICRO_VERSION=1
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws76
+EXTRA_VERSION=claws77
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index f641b8a..7b106fa 100644 (file)
@@ -3635,7 +3635,8 @@ static void compose_write_attach(Compose *compose, FILE *fp)
 
 #define QUOTE_IF_REQUIRED(out, str)                    \
 {                                                      \
-       if (*str != '"' && strchr(str, ',')) {          \
+       if (*str != '"' && (strchr(str, ',')            \
+                       || strchr(str, '.'))) {         \
                gchar *__tmp;                           \
                gint len;                               \
                                                        \