Mercurial > sdl-ios-xcode
diff src/video/gem/SDL_gemvideo.c @ 921:6126849e59a6
Use meaningful define instead of numeral value
author | Patrice Mandin <patmandin@gmail.com> |
---|---|
date | Thu, 05 Aug 2004 19:37:45 +0000 |
parents | bbefeed8134d |
children | 2748679027ff |
line wrap: on
line diff
--- a/src/video/gem/SDL_gemvideo.c Thu Aug 05 19:34:44 2004 +0000 +++ b/src/video/gem/SDL_gemvideo.c Thu Aug 05 19:37:45 2004 +0000 @@ -669,7 +669,7 @@ modeflags |= SDL_NOFRAME; } - if (!wind_calc(0, GEM_win_type, posx, posy, width, height, &x2, &y2, &w2, &h2)) { + if (!wind_calc(WC_BORDER, GEM_win_type, posx, posy, width, height, &x2, &y2, &w2, &h2)) { GEM_FreeBuffers(this); SDL_SetError("Can not calculate window attributes\n"); return NULL;