include/SDL_rect.h
changeset 8943 a743e8b89e72
parent 8930 d000e6339d41
child 9619 b94b6d0bff0f
     1.1 --- a/include/SDL_rect.h	Fri May 30 01:51:13 2014 -0400
     1.2 +++ b/include/SDL_rect.h	Fri May 30 09:50:47 2014 -0400
     1.3 @@ -73,7 +73,7 @@
     1.4  SDL_FORCE_INLINE SDL_bool SDL_PointInRect(const SDL_Point *p, const SDL_Rect *r)
     1.5  {
     1.6      return ( (p->x >= r->x) && (p->x < (r->x + r->w)) &&
     1.7 -             (p->y >= r->y) && (p->y < (r->y + r->h)) );
     1.8 +             (p->y >= r->y) && (p->y < (r->y + r->h)) ) ? SDL_TRUE : SDL_FALSE;
     1.9  }
    1.10  
    1.11  /**