From 249911bc57edf272749a083511b7c56eb100e284 Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Sun, 19 Sep 2010 22:27:44 +0000 Subject: [PATCH] More thorough fix for searfettin font segfault issue. SVN revision: 52480 --- src/modules/conf_fonts/e_int_config_fonts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/conf_fonts/e_int_config_fonts.c b/src/modules/conf_fonts/e_int_config_fonts.c index 9eabdbc77..f092f4145 100644 --- a/src/modules/conf_fonts/e_int_config_fonts.c +++ b/src/modules/conf_fonts/e_int_config_fonts.c @@ -924,14 +924,14 @@ _adv_font_cb_change(void *data, Evas_Object *obj __UNUSED__) } /* select configured style from list */ - if (tc && tc->style) + if ((tc) && (tc->style)) { for (n = 0; n < e_widget_ilist_count(cfdata->gui.style_list); n++) { const char *f; f = e_widget_ilist_nth_label_get(cfdata->gui.style_list, n); - if (!f) continue; + if ((!f) || (!tc->style)) continue; if (!strcasecmp(f, tc->style)) { e_widget_ilist_selected_set(cfdata->gui.style_list, n);