From 328976f5d335a383ae961dd4a90fca225ad01ef5 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 9 Jul 2003 06:36:00 +0000 Subject: [PATCH] fix indentation --- stepmania/src/StepMania.cpp | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/stepmania/src/StepMania.cpp b/stepmania/src/StepMania.cpp index eecb6b3897..ff1ef5b095 100644 --- a/stepmania/src/StepMania.cpp +++ b/stepmania/src/StepMania.cpp @@ -630,24 +630,26 @@ bool HandleGlobalInputs( DeviceInput DeviceI, InputEventType type, GameInput Gam } } #else - if(DeviceI == DeviceInput(DEVICE_KEYBOARD, SDLK_q)) - { - if(INPUTFILTER->IsBeingPressed(DeviceInput(DEVICE_KEYBOARD, SDLK_RMETA)) || - INPUTFILTER->IsBeingPressed(DeviceInput(DEVICE_KEYBOARD, SDLK_LMETA))) - { - // pressed CMD-Q - ExitGame(); - return true; - } - } + if(DeviceI == DeviceInput(DEVICE_KEYBOARD, SDLK_q)) + { + if(INPUTFILTER->IsBeingPressed(DeviceInput(DEVICE_KEYBOARD, SDLK_RMETA)) || + INPUTFILTER->IsBeingPressed(DeviceInput(DEVICE_KEYBOARD, SDLK_LMETA))) + { + // pressed CMD-Q + ExitGame(); + return true; + } + } #endif #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)) #else - if(DeviceI == DeviceInput(DEVICE_KEYBOARD, SDLK_KP_MULTIPLY)) + if(DeviceI == DeviceInput(DEVICE_KEYBOARD, SDLK_KP_MULTIPLY)) #endif - { + { // Save Screenshot. CString sPath; for( int i=0; i<10000; i++ )