changeset 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 9acb9f0f7f0d
children 4c092987234b
files src/video/SDL_rect.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;