Fixed return value
authorSam Lantinga <slouken@libsdl.org>
Fri, 07 Jan 2011 09:53:08 -0800
changeset 4966 a130bc2f0a18
parent 4965 91d0085b7560
child 4967 f74a3f94c408
Fixed return value
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);
 }