From efc83913149f4c132773cb4d04dd203a6e4707e7 Mon Sep 17 00:00:00 2001 From: Gustavo Sverzut Barbieri Date: Sun, 1 Mar 2009 19:48:30 +0000 Subject: [PATCH] fix segv if missing icon_theme. SVN revision: 39314 --- src/modules/conf_icon_theme/e_int_config_icon_themes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/conf_icon_theme/e_int_config_icon_themes.c b/src/modules/conf_icon_theme/e_int_config_icon_themes.c index 1d39c45f1..9eec62b88 100644 --- a/src/modules/conf_icon_theme/e_int_config_icon_themes.c +++ b/src/modules/conf_icon_theme/e_int_config_icon_themes.c @@ -77,7 +77,7 @@ _fill_data(E_Config_Dialog_Data *cfdata) _sort_icon_themes); icon_themes = eina_list_free(icon_themes); } - cfdata->themename = strdup(e_config->icon_theme); + cfdata->themename = strdup(e_config->icon_theme ? e_config->icon_theme : ""); return; }