yakov pushed a commit to branch master.
commit ae561346e43fc252f6676b48a3e4195b2f2eb075
Author: Yakov Goldberg <[email protected]>
Date: Sun Jul 21 11:57:11 2013 +0300
evas/textblock: fix my own boolean expression to be more obvious
---
src/lib/evas/canvas/evas_object_textblock.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/lib/evas/canvas/evas_object_textblock.c
b/src/lib/evas/canvas/evas_object_textblock.c
index 510c551..927fb52 100644
--- a/src/lib/evas/canvas/evas_object_textblock.c
+++ b/src/lib/evas/canvas/evas_object_textblock.c
@@ -9040,8 +9040,7 @@ evas_textblock_cursor_geometry_bidi_get(const
Evas_Textblock_Cursor *cur, Evas_C
#ifdef BIDI_SUPPORT
#define IS_RTL(par) ((par) % 2)
-#define IS_DIFFERENT_DIR(l1, l2) ((IS_RTL(l1) && (!IS_RTL(l2))) || \
- ((!IS_RTL(l1)) && IS_RTL(l2)))
+#define IS_DIFFERENT_DIR(l1, l2) (IS_RTL(l1) != IS_RTL(l2))
else
{
Evas_Object_Textblock_Line *ln = NULL;
--
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk