Fix random segfault when loading/unloading modules & Config Panel not up.

SVN revision: 32973
This commit is contained in:
Christopher Michael 2007-12-04 10:22:18 +00:00
parent 3ac3134bac
commit 20301df32a
1 changed files with 2 additions and 2 deletions

View File

@ -510,8 +510,8 @@ _e_configure_module_update_cb(void *data, int type, void *event)
E_Configure *eco;
int sel = 0;
eco = data;
if (!eco) return 1;
if (!(eco = data)) return 1;
if (!eco->cat_list) return 1;
sel = e_widget_ilist_selected_get(eco->cat_list);
_e_configure_fill_cat_list(eco);
e_widget_ilist_selected_set(eco->cat_list, sel);