summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJihoon Kim <jihoon48.kim@samsung.com>2013-12-31 11:39:47 +0900
committerDaniel Juyung Seo <juyung.seo@samsung.com>2013-12-31 13:23:54 +0900
commita80af5fdc40d07bf70d9725efac7e59d4698c0f6 (patch)
tree38adb88f3b38fae03b5b926e5f022bd429f9bf10 /src
parente666c591660ba8d817e7c9684af27e6734cc074d (diff)
entry: fix build warning about explicit braces to avoid ambiguous 'else'
Diffstat (limited to 'src')
-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 df1cba26b..09bca31e3 100644
--- a/src/lib/elm_entry.c
+++ b/src/lib/elm_entry.c
@@ -2775,9 +2775,15 @@ _elm_entry_smart_text_get(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
2775 { 2775 {
2776 if (!strcmp(item, "default")) goto proceed; 2776 if (!strcmp(item, "default")) goto proceed;
2777 else if (!strcmp(item, "guide")) 2777 else if (!strcmp(item, "guide"))
2778 if (ret) *ret = edje_object_part_text_get(sd->entry_edje, "elm.guide"); 2778 {
2779 if (ret)
2780 *ret = edje_object_part_text_get(sd->entry_edje, "elm.guide");
2781 }
2779 else 2782 else
2780 if (ret) *ret = edje_object_part_text_get(sd->entry_edje, item); 2783 {
2784 if (ret)
2785 *ret = edje_object_part_text_get(sd->entry_edje, item);
2786 }
2781 return; 2787 return;
2782 } 2788 }
2783 2789