Fix recommended by Eddy L O Jansson
authorSam Lantinga <slouken@libsdl.org>
Mon, 19 Jan 2009 03:28:23 +0000
changeset 3046 47965eacde88
parent 3045 9acb9f0f7f0d
child 3047 4c092987234b
Fix recommended by Eddy L O Jansson
src/video/SDL_rect.c
--- a/src/video/SDL_rect.c	Sun Jan 18 17:00:02 2009 +0000
+++ b/src/video/SDL_rect.c	Mon Jan 19 03:28:23 2009 +0000
@@ -130,7 +130,7 @@
     int recty2;
 
     if (!rect || !X1 || !Y1 || !X2 || !Y2) {
-        SDL_FALSE;
+        return SDL_FALSE;
     }
 
     x1 = *X1;