From c26d5fb04d9c0a5c43df6fa24dcf7d48fd821c49 Mon Sep 17 00:00:00 2001 From: Eli Gottlieb Date: Sun, 11 Jul 2010 17:11:22 -0400 Subject: [PATCH] Fixed a pair of syntax errors. --- src/video/SDL_shape.c | 2 +- src/video/x11/SDL_x11shape.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video/SDL_shape.c b/src/video/SDL_shape.c index 85358e374..4e4025432 100644 --- a/src/video/SDL_shape.c +++ b/src/video/SDL_shape.c @@ -41,7 +41,7 @@ SDL_bool SDL_IsShapedWindow(const SDL_Window *window) { 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 --git a/src/video/x11/SDL_x11shape.c b/src/video/x11/SDL_x11shape.c index 5d08031ca..12d4c33e1 100644 --- a/src/video/x11/SDL_x11shape.c +++ b/src/video/x11/SDL_x11shape.c @@ -33,7 +33,7 @@ SDL_WindowShaper* X11_CreateShaper(SDL_Window* window) { 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; }