From: Daniel Juyung Seo Date: Wed, 20 Aug 2014 16:19:11 +0000 (+0900) Subject: notify: changed internal formatting for readability. X-Git-Tag: upstream/1.11.0+18+ga65bbf6~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a2afbe91e851f3d943736d2a1aae9e2721d1a0d5;p=platform%2Fupstream%2Felementary.git notify: changed internal formatting for readability. --- diff --git a/src/lib/elm_notify.c b/src/lib/elm_notify.c index 62aa361..75ed4c2 100644 --- a/src/lib/elm_notify.c +++ b/src/lib/elm_notify.c @@ -56,12 +56,15 @@ _notify_theme_apply(Evas_Object *obj) else position = "bottom"; } - else if (ax <= 0.3) - position = "left"; - else if (ax >= 0.7) - position = "right"; else - position = "center"; + { + if (ax <= 0.3) + position = "left"; + else if (ax >= 0.7) + position = "right"; + else + position = "center"; + } elm_widget_theme_object_set(obj, sd->notify, "notify", position, style); }