Fixed return value
authorSam Lantinga <slouken@libsdl.org>
Fri, 07 Jan 2011 09:53:08 -0800
changeset 4966a130bc2f0a18
parent 4965 91d0085b7560
child 4967 f74a3f94c408
Fixed return value
src/video/SDL_surface.c
     1.1 --- a/src/video/SDL_surface.c	Thu Jan 06 17:12:31 2011 -0800
     1.2 +++ b/src/video/SDL_surface.c	Fri Jan 07 09:53:08 2011 -0800
     1.3 @@ -595,7 +595,7 @@
     1.4      /* Set the clipping rectangle */
     1.5      if (!rect) {
     1.6          surface->clip_rect = full_rect;
     1.7 -        return 1;
     1.8 +        return SDL_TRUE;
     1.9      }
    1.10      return SDL_IntersectRect(rect, &full_rect, &surface->clip_rect);
    1.11  }