From 082d2dbda1b82b1ca43b4c359dbbbbe36f81fed8 Mon Sep 17 00:00:00 2001 From: ChunEon Park Date: Fri, 10 Jan 2014 11:23:18 +0900 Subject: [PATCH] elementary/layout - write as possible as simpler code --- src/lib/elm_layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elm_layout.c b/src/lib/elm_layout.c index fac47e079..76664490e 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; -- 2.34.1