summaryrefslogtreecommitdiffstats
path: root/Gui/wm/ws.h
diff options
context:
space:
mode:
Diffstat (limited to 'Gui/wm/ws.h')
-rw-r--r--Gui/wm/ws.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Gui/wm/ws.h b/Gui/wm/ws.h
index bd0b6c802d..f14b01483a 100644
--- a/Gui/wm/ws.h
+++ b/Gui/wm/ws.h
@@ -254,7 +254,7 @@ extern int wsGetOutMask( void );
extern void wsScreenSaverOn( Display *mDisplay );
extern void wsScreenSaverOff( Display * mDisplay );
-#define wgIsRect( X,Y,tX,tY,bX,bY ) ( ( X > tX )&&( Y > tY )&&( X < bX )&&( Y < bY ) )
+#define wgIsRect( X,Y,tX,tY,bX,bY ) ( ( (X) > (tX) )&&( (Y) > (tY) )&&( (X) < (bX) )&&( (Y) < (bY) ) )
#endif