Added a check for NULL prefs_common.dictionary
authorMelvin Hadasht <melvin.hadasht@free.fr>
Tue, 12 Nov 2002 12:43:56 +0000 (12:43 +0000)
committerMelvin Hadasht <melvin.hadasht@free.fr>
Tue, 12 Nov 2002 12:43:56 +0000 (12:43 +0000)
ChangeLog.claws
configure.in
src/compose.c

index cd2da29..fc249e4 100644 (file)
@@ -1,3 +1,8 @@
+2002-11-12 [melvin]    0.8.5claws132
+
+       * src/compose.c
+               Added a check for a NULL prefs_common.dictionary
+
 2002-11-12 [colin]     0.8.5claws131
 
        * src/ssl_certificate.[ch]
index dbc1e52..dbdb458 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=5
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws131
+EXTRA_VERSION=claws132
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 8ddf544..d0a8653 100644 (file)
@@ -4935,7 +4935,7 @@ static Compose *compose_create(PrefsAccount *account, ComposeMode mode)
 #if USE_ASPELL
        
        menu_set_sensitive(ifactory, "/Spelling", FALSE);
-        if (prefs_common.enable_aspell && 
+        if (prefs_common.enable_aspell && prefs_common.dictionary &&
            strcmp(prefs_common.dictionary, _("None"))) {
                gtkaspell = gtkaspell_new((const gchar*)prefs_common.dictionary,
                                          conv_get_current_charset_str(),