Fixed a pair of syntax errors.

This commit is contained in:
Eli Gottlieb 2010-07-11 17:11:22 -04:00
parent 559963b115
commit c1483580f5
2 changed files with 2 additions and 2 deletions

View file

@ -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. */

View file

@ -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;
}