From: ChunEon Park Date: Fri, 10 Jan 2014 02:23:18 +0000 (+0900) Subject: elementary/layout - write as possible as simpler code X-Git-Tag: v1.9.0-alpha1~273 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=082d2dbda1b82b1ca43b4c359dbbbbe36f81fed8;p=platform%2Fupstream%2Felementary.git elementary/layout - write as possible as simpler code --- diff --git a/src/lib/elm_layout.c b/src/lib/elm_layout.c index fac47e0..7666449 100644 --- a/src/lib/elm_layout.c +++ b/src/lib/elm_layout.c @@ -376,7 +376,7 @@ _elm_layout_smart_theme(Eo *obj, void *_pd, va_list *list) * of entry needs to call directly the widget _theme function */ Eina_Bool enable = EINA_TRUE; eo_do(obj, elm_obj_layout_theme_enable(&enable)); - if (EINA_TRUE != enable) + if (!enable) { if (ret) *ret = EINA_TRUE; return;