Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11shape.c @ 4789:a6bc01875d20
Fixed a pair of syntax errors.
author | Eli Gottlieb <eligottlieb@gmail.com> |
---|---|
date | Sun, 11 Jul 2010 17:11:22 -0400 |
parents | e25ad8d97027 |
children | e07cd9e86d7a |
comparison
equal
deleted
inserted
replaced
4788:0bfda420c936 | 4789:a6bc01875d20 |
---|---|
31 result->window = window; | 31 result->window = window; |
32 result->alphacutoff = 0; | 32 result->alphacutoff = 0; |
33 result->usershownflag = 0; | 33 result->usershownflag = 0; |
34 result->driverdata = malloc(sizeof(SDL_ShapeData)); | 34 result->driverdata = malloc(sizeof(SDL_ShapeData)); |
35 window->shaper = result; | 35 window->shaper = result; |
36 int resized_properly = X11ResizeWindowShape(window); | 36 int resized_properly = X11_ResizeWindowShape(window); |
37 assert(resized_properly == 0); | 37 assert(resized_properly == 0); |
38 return result; | 38 return result; |
39 } | 39 } |
40 | 40 |
41 int X11_ResizeWindowShape(SDL_Window* window) { | 41 int X11_ResizeWindowShape(SDL_Window* window) { |