diff options
author | rubidium <rubidium@openttd.org> | 2009-09-13 17:38:07 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-09-13 17:38:07 +0000 |
commit | 45e3141444323e3bfb959c03686ba81303682833 (patch) | |
tree | 9abf5bf9ed0587353c390f92081527b1587885b8 /src/strings_func.h | |
parent | 734edc178db2d134923ed887b17242bbce55c802 (diff) | |
download | openttd-45e3141444323e3bfb959c03686ba81303682833.tar.xz |
(svn r17526) -Codechange: use QSortT instead of qsort for sorting the language list in the network GUI
Diffstat (limited to 'src/strings_func.h')
-rw-r--r-- | src/strings_func.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strings_func.h b/src/strings_func.h index b42f9fff5..bbf1739b1 100644 --- a/src/strings_func.h +++ b/src/strings_func.h @@ -100,7 +100,7 @@ extern DynamicLanguages _dynlang; // defined in strings.cpp bool ReadLanguagePack(int index); void InitializeLanguagePacks(); -int CDECL StringIDSorter(const void *a, const void *b); +int CDECL StringIDSorter(const StringID *a, const StringID *b); /** Key comparison function for std::map */ struct StringIDCompare |