summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorJihoon Kim <jihoon48.kim@samsung.com>2013-12-31 11:39:47 +0900
committerJihoon Kim <jihoon48.kim@samsung.com>2013-12-31 11:40:52 +0900
commitaa20875332bd88f9d640d3de187f956ecf7a1d3a (patch)
tree93c360056902a2b535dd56496f1350730ec51db7 /src/lib
parentf8e05dc53f3430694a540ca875b05853ca11f8bb (diff)
entry: fix build warning about explicit braces to avoid ambiguous 'else'
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/elm_entry.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c
index ec22bc47f..81a35db49 100644
--- a/src/lib/elm_entry.c
+++ b/src/lib/elm_entry.c
@@ -2781,9 +2781,15 @@ _elm_entry_smart_text_get(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
2781 { 2781 {
2782 if (!strcmp(item, "default")) goto proceed; 2782 if (!strcmp(item, "default")) goto proceed;
2783 else if (!strcmp(item, "guide")) 2783 else if (!strcmp(item, "guide"))
2784 if (ret) *ret = edje_object_part_text_get(sd->entry_edje, "elm.guide"); 2784 {
2785 if (ret)
2786 *ret = edje_object_part_text_get(sd->entry_edje, "elm.guide");
2787 }
2785 else 2788 else
2786 if (ret) *ret = edje_object_part_text_get(sd->entry_edje, item); 2789 {
2790 if (ret)
2791 *ret = edje_object_part_text_get(sd->entry_edje, item);
2792 }
2787 return; 2793 return;
2788 } 2794 }
2789 2795