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: 2.0_alpha~240^2~1606 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8fb0fb8b09572a4d336c9616ad6b4906b570325d;p=framework%2Fuifw%2Fevas.git Evas textblock: Fixed ignoring of unicode object replacement char. git-svn-id: svn+ssh://svn.enlightenment.org/var/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++; }