From 5fe784f520f25ff3953df25ba698a5f7d90065c7 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Thu, 2 May 2019 01:27:08 +0100 Subject: [PATCH] Remove incorrect CDECL declaration from SlotNameSorter --- src/tracerestrict_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tracerestrict_gui.cpp b/src/tracerestrict_gui.cpp index 77bd34907a..591cc8ed50 100644 --- a/src/tracerestrict_gui.cpp +++ b/src/tracerestrict_gui.cpp @@ -506,7 +506,7 @@ static DropDownList GetGroupDropDownList(Owner owner, GroupID group_id, int &sel } /** Sort slots by their name */ -static bool CDECL SlotNameSorter(const TraceRestrictSlot * const &a, const TraceRestrictSlot * const &b) +static bool SlotNameSorter(const TraceRestrictSlot * const &a, const TraceRestrictSlot * const &b) { int r = strnatcmp(a->name.c_str(), b->name.c_str()); // Sort by name (natural sorting). if (r == 0) return a->index < b->index;