Mercurial > sdl-ios-xcode
diff src/video/win32/SDL_win32modes.c @ 3139:7f684f249ec9
indent
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 23 May 2009 22:41:08 +0000 |
parents | 0d12e8f1de3c |
children | e6c113f1ea43 |
line wrap: on
line diff
--- a/src/video/win32/SDL_win32modes.c Fri May 15 15:47:37 2009 +0000 +++ b/src/video/win32/SDL_win32modes.c Sat May 23 22:41:08 2009 +0000 @@ -55,10 +55,10 @@ mode->driverdata = data; #ifdef _WIN32_WCE /* In WinCE EnumDisplaySettings(ENUM_CURRENT_SETTINGS) doesn't take the user defined orientation - into account but GetSystemMetrixs does. */ - if(index == ENUM_CURRENT_SETTINGS) { - mode->w = GetSystemMetrics(SM_CXSCREEN); - mode->h = GetSystemMetrics(SM_CYSCREEN); + into account but GetSystemMetrixs does. */ + if (index == ENUM_CURRENT_SETTINGS) { + mode->w = GetSystemMetrics(SM_CXSCREEN); + mode->h = GetSystemMetrics(SM_CYSCREEN); } #endif @@ -211,12 +211,12 @@ { SDL_DisplayModeData *data = (SDL_DisplayModeData *) mode->driverdata; LONG status; - + #ifdef _WIN32_WCE /* TODO: implement correctly. On my Asus MyPAL, if I execute the code below I get DISP_CHANGE_BADFLAGS and the Titlebar of the fullscreen window stays - visible ... (SDL_RaiseWindow() would fix that one)*/ + visible ... (SDL_RaiseWindow() would fix that one) */ return 0; #endif