Use meaningful define instead of numeral value

This commit is contained in:
Patrice Mandin
2004-08-05 19:37:45 +00:00
parent 16d3a9e749
commit 3cff3e3ccd

View File

@@ -669,7 +669,7 @@ SDL_Surface *GEM_SetVideoMode(_THIS, SDL_Surface *current,
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;