Use SDLK_PRINT instead of SDLK_SYSREQ.

This commit is contained in:
Glenn Maynard
2003-09-28 23:20:22 +00:00
parent 9e69a06d4b
commit fa27886b1c
3 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -754,7 +754,7 @@ bool HandleGlobalInputs( DeviceInput DeviceI, InputEventType type, GameInput Gam
* Alt+PrntScrn. Windows will do this whether or not we save a screenshot
* ourself by dumping the frame buffer. */
// "if pressing PrintScreen and not pressing Alt"
if( DeviceI == DeviceInput(DEVICE_KEYBOARD, SDLK_SYSREQ) &&
if( DeviceI == DeviceInput(DEVICE_KEYBOARD, SDLK_PRINT) &&
!INPUTFILTER->IsBeingPressed( DeviceInput(DEVICE_KEYBOARD, SDLK_RALT)) &&
!INPUTFILTER->IsBeingPressed( DeviceInput(DEVICE_KEYBOARD, SDLK_LALT)) )
#else