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

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

View File

@@ -20,11 +20,10 @@ struct Language {
/** Used for dynamic language support */
struct DynamicLanguages {
int num; ///< Number of languages
int curr; ///< Currently selected language index
char curr_file[MAX_PATH]; ///< Currently selected language file name without path (needed for saving the filename of the loaded language).
StringID dropdown[MAX_LANG + 1]; ///< List of languages in the settings gui
Language ent[MAX_LANG]; ///< Information about the languages
int num; ///< Number of languages
int curr; ///< Currently selected language index
char curr_file[MAX_PATH]; ///< Currently selected language file name without path (needed for saving the filename of the loaded language).
Language ent[MAX_LANG]; ///< Information about the languages
};
// special string constants