Commit c1483580 authored by Eli Gottlieb's avatar Eli Gottlieb

Fixed a pair of syntax errors.

parent 559963b1
......@@ -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. */
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment