woohyun pushed a commit to branch master.

commit a24854871264f166797486404b0d48afb4be985e
Author: WooHyun Jung <[email protected]>
Date:   Mon Apr 29 12:46:22 2013 +0900

    ejde/edje_entry.c : commit_cancel should be EINA_FALSE when there is one or 
more characters in preediting string.
---
 src/lib/edje/edje_entry.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/lib/edje/edje_entry.c b/src/lib/edje/edje_entry.c
index f8ce36c..c830b36 100644
--- a/src/lib/edje/edje_entry.c
+++ b/src/lib/edje/edje_entry.c
@@ -216,7 +216,9 @@ _text_filter_markup_prepend_internal(Edje *ed, Entry *en, 
Evas_Textblock_Cursor
 #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)
      {

-- 

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr

Reply via email to