changeset 4966:a130bc2f0a18

Fixed return value
author Sam Lantinga <slouken@libsdl.org>
date Fri, 07 Jan 2011 09:53:08 -0800
parents 91d0085b7560
children f74a3f94c408
files src/video/SDL_surface.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);
 }