Edje entry: Fixed drawing of anchors.
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 25 Aug 2010 14:54:08 +0000 (14:54 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 25 Aug 2010 14:54:08 +0000 (14:54 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@51647 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/edje_entry.c

index 438ee5f..32d9b3a 100644 (file)
@@ -865,6 +865,8 @@ _anchors_get(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en)
                  if (an)
                    {
                        evas_textblock_cursor_at_format_set(an->end, node);
+                       /* Go before the format */
+                       evas_textblock_cursor_char_prev(an->end);
                       if (!evas_textblock_cursor_compare(an->start, an->end))
                         {
                            if (an->name) free(an->name);