diff options
author | Steve Wills <steve@mouf.net> | 2021-02-16 23:02:44 +0100 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-02-16 23:12:39 +0100 |
commit | 2b6628aa652ae58f0fddf618a2b6b0b716d0f069 (patch) | |
tree | 7b51b4bfb3189c609f01bf0c71594080d6f76b94 | |
parent | Fix buffer overflow on re3_sem_open/close (diff) | |
download | re3-2b6628aa652ae58f0fddf618a2b6b0b716d0f069.tar re3-2b6628aa652ae58f0fddf618a2b6b0b716d0f069.tar.gz re3-2b6628aa652ae58f0fddf618a2b6b0b716d0f069.tar.bz2 re3-2b6628aa652ae58f0fddf618a2b6b0b716d0f069.tar.lz re3-2b6628aa652ae58f0fddf618a2b6b0b716d0f069.tar.xz re3-2b6628aa652ae58f0fddf618a2b6b0b716d0f069.tar.zst re3-2b6628aa652ae58f0fddf618a2b6b0b716d0f069.zip |
-rw-r--r-- | src/core/Frontend.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/Frontend.cpp b/src/core/Frontend.cpp index 861e67d1..0f66178b 100644 --- a/src/core/Frontend.cpp +++ b/src/core/Frontend.cpp @@ -1864,8 +1864,13 @@ CMenuManager::DrawControllerBound(int32 yStart, int32 xStart, int32 unused, int8 } // Print bindings, including seperator (-) between them + CFont::SetScale(MENU_X(0.25f), MENU_Y(LISTITEM_Y_SCALE)); +#ifdef FIX_BUGS + for (; contSetOrder < MAX_SETORDERS && controllerAction >= 0; contSetOrder++) { +#else for (; contSetOrder < MAX_SETORDERS && controllerAction != -1; contSetOrder++) { +#endif wchar *settingText = ControlsManager.GetControllerSettingTextWithOrderNumber((e_ControllerAction)controllerAction, (eContSetOrder)contSetOrder); if (settingText) { ++bindingsForThisOpt; |