# HG changeset patch # User Sam Lantinga # Date 1232335703 0 # Node ID 47965eacde886dec025c95abfabbba89333c39e4 # Parent 9acb9f0f7f0ded9a5e188840cdee3371d2c422e1 Fix recommended by Eddy L O Jansson diff -r 9acb9f0f7f0d -r 47965eacde88 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;