r1017 - trunk/code/win32

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Dec 27 18:20:33 EST 2006


Author: tjw
Date: 2006-12-27 18:20:33 -0500 (Wed, 27 Dec 2006)
New Revision: 1017

Modified:
   trunk/code/win32/win_wndproc.c
Log:
* replaced SPI_SCREENSAVERRUNNING with the newer SPI_SETSCREENSAVERRUNNING
  since newer mingw dropped the older define.  Both are defined to 97


Modified: trunk/code/win32/win_wndproc.c
===================================================================
--- trunk/code/win32/win_wndproc.c	2006-12-23 23:54:29 UTC (rev 1016)
+++ trunk/code/win32/win_wndproc.c	2006-12-27 23:20:33 UTC (rev 1017)
@@ -55,7 +55,7 @@
 	{
 		BOOL old;
 
-		SystemParametersInfo( SPI_SCREENSAVERRUNNING, 1, &old, 0 );
+		SystemParametersInfo( SPI_SETSCREENSAVERRUNNING, 1, &old, 0 );
 	}
 	s_alttab_disabled = qtrue;
 }
@@ -72,7 +72,7 @@
 		{
 			BOOL old;
 
-			SystemParametersInfo( SPI_SCREENSAVERRUNNING, 0, &old, 0 );
+			SystemParametersInfo( SPI_SETSCREENSAVERRUNNING, 0, &old, 0 );
 		}
 
 		s_alttab_disabled = qfalse;




More information about the quake3-commits mailing list