From a2afbe91e851f3d943736d2a1aae9e2721d1a0d5 Mon Sep 17 00:00:00 2001 From: Daniel Juyung Seo Date: Thu, 21 Aug 2014 01:19:11 +0900 Subject: [PATCH] notify: changed internal formatting for readability. --- src/lib/elm_notify.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) 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); } -- 2.7.4