elc_naviframe.c: Correctly call _resize_object_reset()
authorDaniel Willmann <d.willmann@samsung.com>
Wed, 26 Jun 2013 15:45:54 +0000 (16:45 +0100)
committerSungho Kwak <sungho1.kwak@samsung.com>
Fri, 28 Jun 2013 10:51:06 +0000 (19:51 +0900)
Incorrect use of the ?-operator...

Backported b088400a2bfa8422a83eeb4e08b1113e0a0b7fa2

Change-Id: I48f1d87944f63627bbc727c47d60000a0c701b6d
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
src/lib/elc_naviframe.c

index d23ac9a..93f4765 100644 (file)
@@ -1642,7 +1642,7 @@ elm_naviframe_item_push(Evas_Object *obj,
 
    if (prev_it) elm_widget_focused_object_clear(VIEW(prev_it));
    _resize_object_reset(obj, it, prev_it,
-                        (prev_it ? : EINA_FALSE, EINA_TRUE));
+                        (prev_it ? EINA_FALSE : EINA_TRUE));
    if (prev_it)
      {
         if (sd->freeze_events)