forked from enlightenment/efl
evas/textblock: fix my own boolean expression to be more obvious
This commit is contained in:
parent
4c5ea19d83
commit
ae561346e4
|
@ -9040,8 +9040,7 @@ evas_textblock_cursor_geometry_bidi_get(const Evas_Textblock_Cursor *cur, Evas_C
|
||||||
|
|
||||||
#ifdef BIDI_SUPPORT
|
#ifdef BIDI_SUPPORT
|
||||||
#define IS_RTL(par) ((par) % 2)
|
#define IS_RTL(par) ((par) % 2)
|
||||||
#define IS_DIFFERENT_DIR(l1, l2) ((IS_RTL(l1) && (!IS_RTL(l2))) || \
|
#define IS_DIFFERENT_DIR(l1, l2) (IS_RTL(l1) != IS_RTL(l2))
|
||||||
((!IS_RTL(l1)) && IS_RTL(l2)))
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Evas_Object_Textblock_Line *ln = NULL;
|
Evas_Object_Textblock_Line *ln = NULL;
|
||||||
|
|
Loading…
Reference in New Issue