Mercurial > sdl-ios-xcode
comparison src/SDL_compat.c @ 5255:f908e06b3c96
Fixed compiling on Windows
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 11 Feb 2011 10:13:30 -0800 |
parents | 762e40fb8e28 |
children | b530ef003506 |
comparison
equal
deleted
inserted
replaced
5254:7a963be087ef | 5255:f908e06b3c96 |
---|---|
77 const char *variable = SDL_getenv("SDL_VIDEO_FULLSCREEN_DISPLAY"); | 77 const char *variable = SDL_getenv("SDL_VIDEO_FULLSCREEN_DISPLAY"); |
78 if ( !variable ) { | 78 if ( !variable ) { |
79 variable = SDL_getenv("SDL_VIDEO_FULLSCREEN_HEAD"); | 79 variable = SDL_getenv("SDL_VIDEO_FULLSCREEN_HEAD"); |
80 } | 80 } |
81 if ( variable ) { | 81 if ( variable ) { |
82 SDL_atoi(variable); | 82 return SDL_atoi(variable); |
83 } else { | 83 } else { |
84 return 0; | 84 return 0; |
85 } | 85 } |
86 } | 86 } |
87 | 87 |