[edje_entry] commit_cancel should be EINA_FALSE when there is one or more characters...
authorWooHyun Jung <wh0705.jung@samsung.com>
Mon, 29 Apr 2013 03:54:51 +0000 (12:54 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Tue, 11 Jun 2013 10:42:36 +0000 (19:42 +0900)
Change-Id: I10670b4f9eaa69b1b71da70a76d03b46d5cb4899

src/lib/edje_entry.c

index 7813a44..b1b0b0b 100644 (file)
@@ -405,7 +405,9 @@ _text_filter_markup_prepend_internal(Entry *en, Evas_Textblock_Cursor *c, char *
 #ifdef HAVE_ECORE_IMF
    // For skipping useless commit
    if (en->have_preedit && (!text || !strcmp(text, "")))
-      en->commit_cancel = EINA_TRUE;
+     en->commit_cancel = EINA_TRUE;
+   else
+     en->commit_cancel = EINA_FALSE;
 #endif
    if (text)
      {