projects
/
profile
/
ivi
/
evas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6141cff
)
evas_textblock : fixing bug of switch char : 57229
author
WooHyun Jung
<wh0705.jung@samsung.com>
Tue, 22 Feb 2011 12:06:08 +0000
(21:06 +0900)
committer
WooHyun Jung
<wh0705.jung@samsung.com>
Tue, 22 Feb 2011 12:06:08 +0000
(21:06 +0900)
Change-Id: If613777624ab0d8a37111de40b5d89520a9cca46
src/lib/canvas/evas_object_textblock.c
patch
|
blob
|
history
diff --git
a/src/lib/canvas/evas_object_textblock.c
b/src/lib/canvas/evas_object_textblock.c
index
ee3f748
..
eb75d33
100644
(file)
--- a/
src/lib/canvas/evas_object_textblock.c
+++ b/
src/lib/canvas/evas_object_textblock.c
@@
-4680,8
+4680,10
@@
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;
- cur->pos = index;
-
+ if (index >= 0)
+ cur->pos = index;
+ else
+ cur->pos = 0;
}
/**