src/video/SDL_rect.c
changeset 3004 f3d7226a8dfd
parent 2997 e4f025078c1c
child 3046 47965eacde88
--- a/src/video/SDL_rect.c	Mon Jan 05 07:04:54 2009 +0000
+++ b/src/video/SDL_rect.c	Mon Jan 05 07:07:48 2009 +0000
@@ -150,7 +150,7 @@
 
     /* Check to see if entire line is to one side of rect */
     if ((x1 < rectx1 && x2 < rectx1) || (x1 > rectx2 && x2 > rectx2) ||
-        (y1 < recty1 && y2 < recty2) || (y1 > recty2 && y2 > recty2)) {
+        (y1 < recty1 && y2 < recty1) || (y1 > recty2 && y2 > recty2)) {
         return SDL_FALSE;
     }