fix indentation
This commit is contained in:
+14
-12
@@ -630,24 +630,26 @@ bool HandleGlobalInputs( DeviceInput DeviceI, InputEventType type, GameInput Gam
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
if(DeviceI == DeviceInput(DEVICE_KEYBOARD, SDLK_q))
|
if(DeviceI == DeviceInput(DEVICE_KEYBOARD, SDLK_q))
|
||||||
{
|
{
|
||||||
if(INPUTFILTER->IsBeingPressed(DeviceInput(DEVICE_KEYBOARD, SDLK_RMETA)) ||
|
if(INPUTFILTER->IsBeingPressed(DeviceInput(DEVICE_KEYBOARD, SDLK_RMETA)) ||
|
||||||
INPUTFILTER->IsBeingPressed(DeviceInput(DEVICE_KEYBOARD, SDLK_LMETA)))
|
INPUTFILTER->IsBeingPressed(DeviceInput(DEVICE_KEYBOARD, SDLK_LMETA)))
|
||||||
{
|
{
|
||||||
// pressed CMD-Q
|
// pressed CMD-Q
|
||||||
ExitGame();
|
ExitGame();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef DARWIN
|
#ifndef DARWIN
|
||||||
|
/* XXX: Er, this doesn't work; Windows traps this key and takes a screenshot
|
||||||
|
* into the clipboard. I don't want to disable that, though; it's useful. */
|
||||||
if(DeviceI == DeviceInput(DEVICE_KEYBOARD, SDLK_SYSREQ))
|
if(DeviceI == DeviceInput(DEVICE_KEYBOARD, SDLK_SYSREQ))
|
||||||
#else
|
#else
|
||||||
if(DeviceI == DeviceInput(DEVICE_KEYBOARD, SDLK_KP_MULTIPLY))
|
if(DeviceI == DeviceInput(DEVICE_KEYBOARD, SDLK_KP_MULTIPLY))
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
// Save Screenshot.
|
// Save Screenshot.
|
||||||
CString sPath;
|
CString sPath;
|
||||||
for( int i=0; i<10000; i++ )
|
for( int i=0; i<10000; i++ )
|
||||||
|
|||||||
Reference in New Issue
Block a user