diff src/video/SDL_surface.c @ 4966:a130bc2f0a18

Fixed return value
author Sam Lantinga <slouken@libsdl.org>
date Fri, 07 Jan 2011 09:53:08 -0800
parents 68da5a234bba
children da10636e5eca
line wrap: on
line diff
--- 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);
 }