(svn r11886) -Add: sort the strings in languages dropdown

This commit is contained in:
glx
2008-01-17 00:21:43 +00:00
parent 4d9a9bf6ff
commit 69c18efdca
4 changed files with 32 additions and 20 deletions

View File

@@ -69,6 +69,12 @@ void InitializeLanguagePacks();
int CDECL StringIDSorter(const void *a, const void *b);
/** Key comparison function for std::map */
struct StringIDCompare
{
bool operator()(StringID s1, StringID s2) { return StringIDSorter(&s1, &s2) < 0; }
};
void CheckForMissingGlyphsInLoadedLanguagePack();
#endif /* STRINGS_TYPE_H */