From: tasn Date: Thu, 26 Aug 2010 13:04:13 +0000 (+0000) Subject: Evas textblock: Fixed ignoring of unicode object replacement char. X-Git-Tag: submit/trunk/20120815.174732~2482 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2d6916f0dd50ce2a72626f0bb8b6dd227b7577ef;p=profile%2Fivi%2Fevas.git Evas textblock: Fixed ignoring of unicode object replacement char. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51658 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/canvas/evas_object_textblock.c b/src/lib/canvas/evas_object_textblock.c index 79f36e7..6f4fb21 100644 --- a/src/lib/canvas/evas_object_textblock.c +++ b/src/lib/canvas/evas_object_textblock.c @@ -3891,8 +3891,9 @@ evas_object_textblock_text_markup_prepend(Evas_Textblock_Cursor *cur, const char * fancier in the future, atm it breaks if this char * is inside <> */ _prepend_text_run(o, s, p); - p += 2; /* it's also advanced later in this loop */ - s = NULL; + p += 2; /* it's also advanced later in this loop need +3 + * in total*/ + s = p + 1; /* One after the end of the replacement char */ } p++; }