forked from enlightenment/efl
Evas textblock: Fixed paragraph char last.
SVN revision: 51985
This commit is contained in:
parent
bcc518ed97
commit
471d682228
|
@ -4735,7 +4735,7 @@ evas_textblock_cursor_paragraph_char_last(Evas_Textblock_Cursor *cur)
|
|||
if (!cur) return;
|
||||
if (!cur->node) return;
|
||||
index = eina_ustrbuf_length_get(cur->node->unicode) - 1;
|
||||
if (index < 0) cur->pos = 0;
|
||||
if (index < 0) index = 0;
|
||||
cur->pos = index;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue