* src/prefs_gtk.c
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Sat, 1 Nov 2003 21:54:25 +0000 (21:54 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Sat, 1 Nov 2003 21:54:25 +0000 (21:54 +0000)
prefs_write_param(): fail when we see an invalid type; all the
callers seem to handle this gracefully by reverting changes

ChangeLog.claws
configure.ac
src/prefs_gtk.c

index 54687283d2e502ed02228c79e7b4cc61d8c38e6e..4ec2467b8a8c3275a96da81269be170242d98189 100644 (file)
@@ -1,3 +1,9 @@
+2003-11-01 [alfons]    0.9.6claws62
+
+       * src/prefs_gtk.c
+               prefs_write_param(): fail when we see an invalid type; all the
+               callers seem to handle this gracefully by reverting changes
+
 2003-10-30 [christoph] 0.9.6claws61
 
        * configure.ac
index 5959301c960e5501c108add108b976427cd2eb23..a00f1760d16eeed5a87788c48bf3cd4b3fb0b785 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=6
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=61
+EXTRA_VERSION=62
 if test $EXTRA_VERSION -eq 0; then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
 else
index 1cbc09d5690fe9cb863a906a5b51f13b27cfc34c..b725c42ca7096647f1c86bf29422f1fb1dc6b37c 100644 (file)
@@ -301,7 +301,9 @@ gint prefs_write_param(PrefParam *param, FILE *fp)
                        }
                        break;
                default:
-                       buf[0] = '\0';
+                       /* unrecognized, fail */
+                       debug_print("Unrecognized parameter type\n");
+                       return -1;
                }
 
                if (buf[0] != '\0') {