Use meaningful define instead of numeral value
authorPatrice Mandin <patmandin@gmail.com>
Thu, 05 Aug 2004 19:37:45 +0000
changeset 921 6126849e59a6
parent 920 bbefeed8134d
child 922 7b920743ce57
Use meaningful define instead of numeral value
src/video/gem/SDL_gemvideo.c
--- 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;