Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
920:bbefeed8134d | 921:6126849e59a6 |
---|---|
667 } else { | 667 } else { |
668 GEM_win_type=0; | 668 GEM_win_type=0; |
669 modeflags |= SDL_NOFRAME; | 669 modeflags |= SDL_NOFRAME; |
670 } | 670 } |
671 | 671 |
672 if (!wind_calc(0, GEM_win_type, posx, posy, width, height, &x2, &y2, &w2, &h2)) { | 672 if (!wind_calc(WC_BORDER, GEM_win_type, posx, posy, width, height, &x2, &y2, &w2, &h2)) { |
673 GEM_FreeBuffers(this); | 673 GEM_FreeBuffers(this); |
674 SDL_SetError("Can not calculate window attributes\n"); | 674 SDL_SetError("Can not calculate window attributes\n"); |
675 return NULL; | 675 return NULL; |
676 } | 676 } |
677 | 677 |