Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed a pair of syntax errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
Eli Gottlieb committed Jul 11, 2010
1 parent 9a0c1eb commit cae33f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/video/SDL_shape.c
Expand Up @@ -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. */
Expand Down
2 changes: 1 addition & 1 deletion src/video/x11/SDL_x11shape.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit cae33f7

Please sign in to comment.