commit 2ec82df9ae49718575017444c2708e1a0212771e
parent a973cfc33de765e9e840932ee625ea704f972861
Author: Kris Maglione <bsdaemon@wmii.de>
Date: Fri, 2 Jun 2006 13:40:59 -0400
Fix stupid bug thanks to keiss
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/liblitz/geometry.c b/liblitz/geometry.c
@@ -17,9 +17,9 @@ blitz_quadofcoord(XRectangle *rect, int x, int y)
x -= rect->x;
y -= rect->y;
- if(x <= rect->width * .5)
- ret |= EAST;
if(x >= rect->width * .5)
+ ret |= EAST;
+ if(x <= rect->width * .5)
ret |= WEST;
if(y <= rect->height * .5)
ret |= NORTH;