Skip to content

Commit

Permalink
Use meaningful define instead of numeral value
Browse files Browse the repository at this point in the history
  • Loading branch information
pmandin committed Aug 5, 2004
1 parent 2307e2d commit 2e713e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/gem/SDL_gemvideo.c
Expand Up @@ -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;
Expand Down

0 comments on commit 2e713e1

Please sign in to comment.