projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45652e5
)
Evas textblock: fixed in issue with the return value of evas_textblock_cursor_char_ne...
author
Tom Hacohen
<tom@stosb.com>
Tue, 25 Jan 2011 02:56:14 +0000
(
02:56
+0000)
committer
Tom Hacohen
<tom@stosb.com>
Tue, 25 Jan 2011 02:56:14 +0000
(
02:56
+0000)
SVN revision: 56295
legacy/evas/src/lib/canvas/evas_object_textblock.c
patch
|
blob
|
history
diff --git
a/legacy/evas/src/lib/canvas/evas_object_textblock.c
b/legacy/evas/src/lib/canvas/evas_object_textblock.c
index
83551d4
..
d40c462
100644
(file)
--- a/
legacy/evas/src/lib/canvas/evas_object_textblock.c
+++ b/
legacy/evas/src/lib/canvas/evas_object_textblock.c
@@
-4608,12
+4608,17
@@
evas_textblock_cursor_char_next(Evas_Textblock_Cursor *cur)
{
if (!evas_textblock_cursor_paragraph_next(cur))
{
+ /* If we already were at the end, that means we don't have
+ * where to go next we should return FALSE */
+ if (cur->pos == (size_t) index)
+ return EINA_FALSE;
+
cur->pos = index;
return EINA_TRUE;
}
else
{
- return EINA_
FALS
E;
+ return EINA_
TRU
E;
}
}
}