diff options
author | Steve Wills <steve@mouf.net> | 2021-02-14 20:06:37 +0100 |
---|---|---|
committer | Steve Wills <steve@mouf.net> | 2021-02-14 20:06:37 +0100 |
commit | a666de46aaebc3b76387cef7cc89f141414c38ce (patch) | |
tree | 2e6c4b8d38b9555aa6017ad6288725056b8909d0 | |
parent | More compatible she-bang line (diff) | |
download | re3-a666de46aaebc3b76387cef7cc89f141414c38ce.tar re3-a666de46aaebc3b76387cef7cc89f141414c38ce.tar.gz re3-a666de46aaebc3b76387cef7cc89f141414c38ce.tar.bz2 re3-a666de46aaebc3b76387cef7cc89f141414c38ce.tar.lz re3-a666de46aaebc3b76387cef7cc89f141414c38ce.tar.xz re3-a666de46aaebc3b76387cef7cc89f141414c38ce.tar.zst re3-a666de46aaebc3b76387cef7cc89f141414c38ce.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/Frontend.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Frontend.cpp b/src/core/Frontend.cpp index 07b8f996..ae2dd12f 100644 --- a/src/core/Frontend.cpp +++ b/src/core/Frontend.cpp @@ -2166,7 +2166,7 @@ CMenuManager::DrawControllerBound(int32 yStart, int32 xStart, int32 unused, int8 // Print bindings, including seperator (-) between them CFont::SetScale(MENU_X(0.25f), MENU_Y(SMALLESTTEXT_Y_SCALE)); - for (; contSetOrder < MAX_SETORDERS && controllerAction != -1; contSetOrder++) { + for (; contSetOrder < MAX_SETORDERS && controllerAction >= 0; contSetOrder++) { wchar *settingText = ControlsManager.GetControllerSettingTextWithOrderNumber((e_ControllerAction)controllerAction, (eContSetOrder)contSetOrder); if (settingText) { ++bindingsForThisOpt; |