From 303b10402579e97dca37980e58598209b906507f Mon Sep 17 00:00:00 2001 From: WooHyun Jung Date: Wed, 28 Dec 2011 10:27:06 +0000 Subject: [PATCH] edje/edje_entry : Fix a bug. Wrong calculation for text length. SVN revision: 66596 --- legacy/edje/src/lib/edje_entry.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/legacy/edje/src/lib/edje_entry.c b/legacy/edje/src/lib/edje_entry.c index d8601cf..a6c1c04 100644 --- a/legacy/edje/src/lib/edje_entry.c +++ b/legacy/edje/src/lib/edje_entry.c @@ -3050,7 +3050,7 @@ _edje_entry_imf_event_preedit_changed_cb(void *data, int type __UNUSED__, void * { eina_strbuf_append(buf, ""); eina_strbuf_append_n(buf, preedit_string + attr->start_index, - attr->end_index - attr->start_index + 1); + attr->end_index - attr->start_index); eina_strbuf_append(buf, ""); } @@ -3059,7 +3059,7 @@ _edje_entry_imf_event_preedit_changed_cb(void *data, int type __UNUSED__, void * { eina_strbuf_append(buf, ""); eina_strbuf_append_n(buf, preedit_string + attr->start_index, - attr->end_index - attr->start_index + 1); + attr->end_index - attr->start_index); eina_strbuf_append(buf, ""); } } -- 2.7.4