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:
d02f25e
)
Evas textblock: make charwrap not force wrap in an illegal position.
author
Tom Hacohen
<tom@stosb.com>
Sun, 5 Jun 2011 10:51:39 +0000
(10:51 +0000)
committer
Tom Hacohen
<tom@stosb.com>
Sun, 5 Jun 2011 10:51:39 +0000
(10:51 +0000)
SVN revision: 59965
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
3f96ea6
..
6e97633
100644
(file)
--- a/
legacy/evas/src/lib/canvas/evas_object_textblock.c
+++ b/
legacy/evas/src/lib/canvas/evas_object_textblock.c
@@
-3179,9
+3179,7
@@
_layout_get_charwrap(Ctxt *c, Evas_Object_Textblock_Format *fmt,
}
- if (uwrap == line_start)
- MOVE_NEXT_UNTIL(len, uwrap);
- if ((uwrap < line_start) || (uwrap > len))
+ if ((uwrap <= line_start) || (uwrap > len))
return -1;
return uwrap;