2008-09-16 [colin] 3.5.0cvs110
[claws.git] / src / prefs_account.c
index 25a01ba4995299314dc61f2056b7992369f9990d..4f17d82c8bb12086eee125af925fe87c6696560b 100644 (file)
@@ -4538,6 +4538,9 @@ static void prefs_account_compose_default_dictionary_set_optmenu_from_string
                dictionary = g_strdup(strrchr(dictionary, '/')+1);
        }
 
+       if (strchr(dictionary, '-')) {
+               *(strchr(dictionary, '-')) = '\0';
+       }
        combo = *pparam->widget;
        if (dictionary)
                gtkaspell_set_dictionary_menu_active_item(GTK_COMBO_BOX(combo),