WEBOS: Correct indentation of WEBOS preprocessor check

This commit is contained in:
Klaus Reimer 2011-04-09 22:14:58 +02:00 committed by Max Horn
parent 1bc38d2532
commit 91e43bb136

View File

@ -213,11 +213,11 @@ void OSystem_SDL::initSDL() {
uint32 sdlFlags = 0;
if (ConfMan.hasKey("disable_sdl_parachute"))
sdlFlags |= SDL_INIT_NOPARACHUTE;
#ifdef WEBOS
#ifdef WEBOS
// WebOS needs this flag or otherwise the application won't start
sdlFlags |= SDL_INIT_VIDEO;
#endif
#endif
// Initialize SDL (SDL Subsystems are initiliazed in the corresponding sdl managers)
if (SDL_Init(sdlFlags) == -1)