Evas textblock: Fixed paragraph char last.

SVN revision: 51985
This commit is contained in:
Tom Hacohen 2010-09-08 10:22:38 +00:00
parent bcc518ed97
commit 471d682228
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}