Skip to content
Snippets Groups Projects
Commit d37b4476 authored by deuce's avatar deuce
Browse files

Typo.

parent be9f283d
No related branches found
No related tags found
No related merge requests found
......@@ -630,7 +630,7 @@ int SDL_main_env(int argc, char **argv, char **env)
#ifdef _WIN32
/* Fail to windib (ie: No mouse attached) */
if(sdl.Init(SDL_INIT_VIDEO)) {
driver_env=getenv("SDL_VIDEODRIVER")==NULL)
driver_env=getenv("SDL_VIDEODRIVER");
if(driver_env==NULL || strcmp(driver_env,"windib")) {
putenv("SDL_VIDEODRIVER=windib");
WinExec(GetCommandLine(), SW_SHOWDEFAULT);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment