summaryrefslogtreecommitdiff
path: root/src/e_mod_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/e_mod_main.c')
-rw-r--r--src/e_mod_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/e_mod_main.c b/src/e_mod_main.c
index 2afb91e..e86493e 100644
--- a/src/e_mod_main.c
+++ b/src/e_mod_main.c
@@ -950,7 +950,8 @@ _forecasts_config_updated(Config_Item *ci)
950 if (inst->ci != ci) continue; 950 if (inst->ci != ci) continue;
951 int area_changed = 0; 951 int area_changed = 0;
952 952
953 if (inst->area && strcmp(inst->area, inst->ci->location)) 953 if ((!inst->area && inst->ci->location) ||
954 (inst->area && strcmp(inst->area, inst->ci->location)))
954 area_changed = 1; 955 area_changed = 1;
955 956
956 if (inst->area) eina_stringshare_del(inst->area); 957 if (inst->area) eina_stringshare_del(inst->area);