notify: changed internal formatting for readability.
authorDaniel Juyung Seo <seojuyung2@gmail.com>
Wed, 20 Aug 2014 16:19:11 +0000 (01:19 +0900)
committerDaniel Juyung Seo <seojuyung2@gmail.com>
Wed, 20 Aug 2014 16:19:17 +0000 (01:19 +0900)
src/lib/elm_notify.c

index 62aa361..75ed4c2 100644 (file)
@@ -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);
 }