From 72ca5ee3a4702e55c95ffcb08ed02a64874d1ac3 Mon Sep 17 00:00:00 2001 From: Gymnasiast Date: Thu, 2 May 2019 22:39:54 +0200 Subject: [PATCH] Fix formatting --- src/openrct2-ui/input/KeyboardShortcuts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2-ui/input/KeyboardShortcuts.cpp b/src/openrct2-ui/input/KeyboardShortcuts.cpp index a77a8932dd..b7f29a6069 100644 --- a/src/openrct2-ui/input/KeyboardShortcuts.cpp +++ b/src/openrct2-ui/input/KeyboardShortcuts.cpp @@ -169,7 +169,7 @@ void KeyboardShortcuts::GetKeyboardMapScroll(const uint8_t* keysState, int32_t* if (!keysState[scancode]) continue; - // Check if SHIFT is either set in the shortcut key and currently, + // Check if SHIFT is either set in the shortcut key and currently pressed, // or not set in the shortcut key and not currently pressed (in other words: check if they match). if ((bool)(shortcutKey & SHIFT) != (keysState[SDL_SCANCODE_LSHIFT] || keysState[SDL_SCANCODE_RSHIFT])) continue;