diff --git a/legacy/elementary/ChangeLog b/legacy/elementary/ChangeLog index 33825c69ba..550b76d9da 100644 --- a/legacy/elementary/ChangeLog +++ b/legacy/elementary/ChangeLog @@ -772,3 +772,5 @@ * Fix possible segv in elm_quicklaunch infrastructure. * Fix elm_conform buffer to always finish with at least one '\0'; + * Fix forgotten break in elm_map that would have thrown error when the + action was properly taken in fact. diff --git a/legacy/elementary/NEWS b/legacy/elementary/NEWS index fe9768705c..edb7fb9fe0 100644 --- a/legacy/elementary/NEWS +++ b/legacy/elementary/NEWS @@ -78,6 +78,8 @@ Fixes: els_scroller. * Fix possible segv in elm_quicklaunch infrastructure. * Fix buffer to always have a final '\0' in elm_conform. + * Fix forgotten break in elm_map that would have thrown error when the action was properly + taken in fact. Removals: diff --git a/legacy/elementary/src/lib/elm_map.c b/legacy/elementary/src/lib/elm_map.c index 9b5b1bc867..6d7d7f6926 100644 --- a/legacy/elementary/src/lib/elm_map.c +++ b/legacy/elementary/src/lib/elm_map.c @@ -2535,6 +2535,7 @@ _overlay_show(Elm_Map_Overlay *overlay) case ELM_MAP_OVERLAY_TYPE_SCALE: if (overlay->visible) _overlay_scale_show(overlay->ovl); else _overlay_scale_hide(overlay->ovl); + break; default: ERR("Invalid overlay type to show: %d", overlay->type); }