Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_gadcon.c 


Log Message:
paranthesis are nice.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_gadcon.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -3 -r1.47 -r1.48
--- e_gadcon.c  21 Sep 2006 19:53:38 -0000      1.47
+++ e_gadcon.c  21 Sep 2006 20:05:44 -0000      1.48
@@ -132,8 +132,8 @@
       __con_state = E_LAYOUT_ITEM_CONTAINER_STATE_SIZE_MAX_END_DEC
 
 #define LC_OVERLAP(__lc, __lc2) \
-   ( __lc2->pos >= __lc->pos && (__lc2->pos < (__lc->pos + __lc->size)) || \
-     __lc->pos >= __lc2->pos && (__lc->pos < (__lc2->pos + __lc2->size)))
+   ((((__lc2)->pos >= (__lc)->pos) && ((__lc2)->pos < ((__lc)->pos + 
(__lc)->size))) || \
+    (((__lc)->pos >= (__lc2)->pos) && ((__lc)->pos < ((__lc2)->pos + 
(__lc2)->size))))
 
 #define E_LAYOUT_ITEM_CONTAINER_SIZE_CHANGE_BY(__lc, __bi, __increase) \
    if (__lc->sd->horizontal) \



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to