Fix recommended by Eddy L O Jansson
authorSam Lantinga
Mon, 19 Jan 2009 03:28:23 +0000
changeset 304647965eacde88
parent 3045 9acb9f0f7f0d
child 3047 4c092987234b
Fix recommended by Eddy L O Jansson
src/video/SDL_rect.c
     1.1 --- a/src/video/SDL_rect.c	Sun Jan 18 17:00:02 2009 +0000
     1.2 +++ b/src/video/SDL_rect.c	Mon Jan 19 03:28:23 2009 +0000
     1.3 @@ -130,7 +130,7 @@
     1.4      int recty2;
     1.5  
     1.6      if (!rect || !X1 || !Y1 || !X2 || !Y2) {
     1.7 -        SDL_FALSE;
     1.8 +        return SDL_FALSE;
     1.9      }
    1.10  
    1.11      x1 = *X1;