forked from enlightenment/efl
Evas textblock: Fixed returned position of "clean" cursors.
Issue reported by Shilpa. SVN revision: 61203
This commit is contained in:
parent
b43f08436d
commit
ad79facc8a
|
@ -6237,6 +6237,7 @@ evas_textblock_cursor_pos_get(const Evas_Textblock_Cursor *cur)
|
|||
size_t npos = 0;
|
||||
|
||||
if (!cur) return -1;
|
||||
if (!cur->node) return 0;
|
||||
o = (Evas_Object_Textblock *)(cur->obj->object_data);
|
||||
n = o->text_nodes;
|
||||
while (n != cur->node)
|
||||
|
|
Loading…
Reference in New Issue