aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortjw <tjw@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-12-27 23:20:33 +0000
committertjw <tjw@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-12-27 23:20:33 +0000
commit6e4b255e16e17f8a3c749e76466987c238b7dafe (patch)
tree24b5f815e7781897a26be323c81392e3e3dc40b1
parent524b203a3536dd1c2e1d0d10e56bf282e5df7e70 (diff)
downloadioquake3-aero-6e4b255e16e17f8a3c749e76466987c238b7dafe.tar.gz
ioquake3-aero-6e4b255e16e17f8a3c749e76466987c238b7dafe.zip
* replaced SPI_SCREENSAVERRUNNING with the newer SPI_SETSCREENSAVERRUNNING
since newer mingw dropped the older define. Both are defined to 97 git-svn-id: svn://svn.icculus.org/quake3/trunk@1017 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r--code/win32/win_wndproc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/win32/win_wndproc.c b/code/win32/win_wndproc.c
index 6811a44..3ff7925 100644
--- a/code/win32/win_wndproc.c
+++ b/code/win32/win_wndproc.c
@@ -55,7 +55,7 @@ static void WIN_DisableAltTab( void )
{
BOOL old;
- SystemParametersInfo( SPI_SCREENSAVERRUNNING, 1, &old, 0 );
+ SystemParametersInfo( SPI_SETSCREENSAVERRUNNING, 1, &old, 0 );
}
s_alttab_disabled = qtrue;
}
@@ -72,7 +72,7 @@ static void WIN_EnableAltTab( void )
{
BOOL old;
- SystemParametersInfo( SPI_SCREENSAVERRUNNING, 0, &old, 0 );
+ SystemParametersInfo( SPI_SETSCREENSAVERRUNNING, 0, &old, 0 );
}
s_alttab_disabled = qfalse;