diff --git a/src/bin/e_module.c b/src/bin/e_module.c index 371f6944f..b53b605e8 100644 --- a/src/bin/e_module.c +++ b/src/bin/e_module.c @@ -77,10 +77,7 @@ e_module_all_load(void) { m = NULL; if (em->name) m = e_module_new(em->name); - if (m) - { - if (em->enabled) e_module_enable(m); - } + if ((m) && (em->enabled)) e_module_enable(m); } } } @@ -533,10 +530,7 @@ _e_module_cb_idler(void *data) _e_modules_delayed = evas_list_remove_list(_e_modules_delayed, _e_modules_delayed); m = NULL; if (name) m = e_module_new(name); - if (m) - { - e_module_enable(m); - } + if (m) e_module_enable(m); evas_stringshare_del(name); } if (_e_modules_delayed) return 1; diff --git a/src/modules/conf_theme/e_int_config_theme.c b/src/modules/conf_theme/e_int_config_theme.c index 2f5bbd642..b1dd085b2 100644 --- a/src/modules/conf_theme/e_int_config_theme.c +++ b/src/modules/conf_theme/e_int_config_theme.c @@ -475,10 +475,7 @@ _basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata) /* Actually take our cfdata settings and apply them in real life */ ct = e_theme_config_get("theme"); - if (ct) - { - if (!strcmp(ct->file, cfdata->theme)) return 1; - } + if ((ct) && (!strcmp(ct->file, cfdata->theme))) return 1; e_theme_config_set("theme", cfdata->theme); e_config_save_queue();