diff options
Diffstat (limited to 'Gui/wm/ws.h')
-rw-r--r-- | Gui/wm/ws.h | 2 |
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 |