From 3aecb338c13090cb0ece80bfb265e83512737ab4 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Fri, 18 May 2018 10:06:13 +1000 Subject: [PATCH] Fix hotkeys modifiers in C client --- src/Client/Input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Client/Input.c b/src/Client/Input.c index 3d6300908..0f68d8354 100644 --- a/src/Client/Input.c +++ b/src/Client/Input.c @@ -205,8 +205,8 @@ void Hotkeys_QuickSort(Int32 left, Int32 right) { /* partition the list */ while (i <= j) { - while (pivot > keys[i].Flags) i++; - while (pivot < keys[j].Flags) j--; + while (pivot < keys[i].Flags) i++; + while (pivot > keys[j].Flags) j--; QuickSort_Swap_Maybe(); } /* recurse into the smaller subset */