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:
c68ba35
)
Evas textblock: Fixed compilation with FriBiDi disabled.
author
Tom Hacohen
<tom@stosb.com>
Mon, 31 Mar 2014 10:41:51 +0000
(11:41 +0100)
committer
Tom Hacohen
<tom@stosb.com>
Mon, 31 Mar 2014 10:41:51 +0000
(11:41 +0100)
This issue was introduced in
d175b8aa69c31fc155f05269350f6703e81886b7
during the previous merge window.
Thanks a lot to vtorri for reporting.
src/lib/evas/canvas/evas_object_textblock.c
patch
|
blob
|
history
diff --git
a/src/lib/evas/canvas/evas_object_textblock.c
b/src/lib/evas/canvas/evas_object_textblock.c
index
813d479
..
c977434
100644
(file)
--- a/
src/lib/evas/canvas/evas_object_textblock.c
+++ b/
src/lib/evas/canvas/evas_object_textblock.c
@@
-10364,8
+10364,14
@@
_size_native_calc_line_finalize(const Evas_Object *eo_obj, Eina_List *items,
loop_advance:
*w += it->adv;
+#ifdef BIDI_SUPPORT
if (!last_it || (it->visual_pos > last_it->visual_pos))
- last_it = it;
+#else
+ if (!last_it)
+#endif
+ {
+ last_it = it;
+ }
}
if (last_it)