From 8ab15c1f2d6c510401bb9eb080806675ddf64a65 Mon Sep 17 00:00:00 2001 From: josh Date: Mon, 8 Nov 2010 22:36:23 +0000 Subject: [PATCH] reversed revision 125 for MSYS build :( git-svn-id: svn://anubis/dwscr/trunk@128 5bef9df8-b654-44bb-925b-0ff18baa8f8c --- dwscr.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dwscr.cc b/dwscr.cc index 2c6c27c..4dee39d 100644 --- a/dwscr.cc +++ b/dwscr.cc @@ -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;