From 2d6916f0dd50ce2a72626f0bb8b6dd227b7577ef Mon Sep 17 00:00:00 2001 From: tasn Date: Thu, 26 Aug 2010 13:04:13 +0000 Subject: [PATCH] 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 --- src/lib/canvas/evas_object_textblock.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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++; } -- 2.7.4