Added a check for NULL prefs_common.dictionary

This commit is contained in:
Melvin Hadasht 2002-11-12 12:43:56 +00:00
parent ce37dab091
commit 12a498dc5e
3 changed files with 7 additions and 2 deletions

View 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]

View 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

View 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(),