reversed revision 125 for MSYS build :(

git-svn-id: svn://anubis/dwscr/trunk@128 5bef9df8-b654-44bb-925b-0ff18baa8f8c
This commit is contained in:
josh 2010-11-08 22:36:23 +00:00
parent e1b74cf2ea
commit 8ab15c1f2d

View File

@ -71,11 +71,11 @@ int main(int argc, char * argv[])
/* make the SDL window appear in the top-left corner of the screen */
if (!windowed)
setenv("SDL_VIDEO_WINDOW_POS", "0,0", 1);
putenv((char *) "SDL_VIDEO_WINDOW_POS=0,0");
/* do not disable power management (this will allow monitors
* to power off at the normally configured timeout) */
setenv("SDL_VIDEO_ALLOW_SCREENSAVER", "1", 1);
putenv((char *) "SDL_VIDEO_ALLOW_SCREENSAVER=1");
if (!start)
return 0;