# HG changeset patch # User Sam Lantinga # Date 1294422788 28800 # Node ID a130bc2f0a18220881b8e39245a6c0192beb0b6c # Parent 91d0085b7560bc23907a38523e98798d436bfb98 Fixed return value diff -r 91d0085b7560 -r a130bc2f0a18 src/video/SDL_surface.c --- a/src/video/SDL_surface.c Thu Jan 06 17:12:31 2011 -0800 +++ b/src/video/SDL_surface.c Fri Jan 07 09:53:08 2011 -0800 @@ -595,7 +595,7 @@ /* Set the clipping rectangle */ if (!rect) { surface->clip_rect = full_rect; - return 1; + return SDL_TRUE; } return SDL_IntersectRect(rect, &full_rect, &surface->clip_rect); }