diff options
Diffstat (limited to 'src/general-prefs.c')
-rwxr-xr-x | src/general-prefs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/general-prefs.c b/src/general-prefs.c index d3d322054..114fde7ac 100755 --- a/src/general-prefs.c +++ b/src/general-prefs.c @@ -242,6 +242,7 @@ create_default_charset_menu (GeneralPrefs *dialog) /* init value */ charsets = l; value = eel_gconf_get_string (CONF_LANGUAGE_DEFAULT_CHARSET); + g_return_if_fail (value != NULL); charsets = g_list_find_custom (charsets, (gconstpointer)value, (GCompareFunc)find_charset_in_list_cmp); gtk_option_menu_set_history (GTK_OPTION_MENU(optionmenu), |