# HG changeset patch # User Eli Gottlieb # Date 1278882682 14400 # Node ID a6bc01875d20fb71b4f9c31c190fa4f78978483f # Parent 0bfda420c936dde98756ebc814e8bf607632a1a1 Fixed a pair of syntax errors. diff -r 0bfda420c936 -r a6bc01875d20 src/video/SDL_shape.c --- a/src/video/SDL_shape.c Fri Jul 09 20:24:44 2010 -0400 +++ b/src/video/SDL_shape.c Sun Jul 11 17:11:22 2010 -0400 @@ -41,7 +41,7 @@ if(window == NULL) return SDL_FALSE; else - return (SDL_bool)(window->shaper != NULL) + return (SDL_bool)(window->shaper != NULL); } /* REQUIRES that bitmap point to a w-by-h bitmap with 1bpp. */ diff -r 0bfda420c936 -r a6bc01875d20 src/video/x11/SDL_x11shape.c --- a/src/video/x11/SDL_x11shape.c Fri Jul 09 20:24:44 2010 -0400 +++ b/src/video/x11/SDL_x11shape.c Sun Jul 11 17:11:22 2010 -0400 @@ -33,7 +33,7 @@ result->usershownflag = 0; result->driverdata = malloc(sizeof(SDL_ShapeData)); window->shaper = result; - int resized_properly = X11ResizeWindowShape(window); + int resized_properly = X11_ResizeWindowShape(window); assert(resized_properly == 0); return result; }