diff src/video/SDL_rect.c @ 3046:47965eacde88

Fix recommended by Eddy L O Jansson
author Sam Lantinga <slouken@libsdl.org>
date Mon, 19 Jan 2009 03:28:23 +0000
parents f3d7226a8dfd
children 0267b8b1595c
line wrap: on
line diff
--- 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;