Evas textblock: Fixed ignoring of unicode object replacement char.
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 26 Aug 2010 13:04:13 +0000 (13:04 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 26 Aug 2010 13:04:13 +0000 (13:04 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51658 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/canvas/evas_object_textblock.c

index 79f36e7..6f4fb21 100644 (file)
@@ -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++;
           }