summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mir_core/lists.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_core/lists.cpp b/src/mir_core/lists.cpp
index ea39a0895a..118dc5789f 100644
--- a/src/mir_core/lists.cpp
+++ b/src/mir_core/lists.cpp
@@ -73,7 +73,7 @@ MIR_CORE_DLL(int) List_GetIndex(SortedList* p_list, void* p_value, int* p_index)
int low = 0;
int high = p_list->realCount - 1;
- switch ((INT_PTR)) {
+ switch ((INT_PTR)p_list->sortFunc) {
case HandleKeySort:
#ifdef _WIN64
{