summaryrefslogtreecommitdiffstats
path: root/gui/pages.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gui/pages.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/pages.cpp b/gui/pages.cpp
index 4a4c52361..cfe306773 100644
--- a/gui/pages.cpp
+++ b/gui/pages.cpp
@@ -36,6 +36,7 @@
#include "../partitions.hpp"
#include <string>
+#include <algorithm>
extern "C" {
#include "../twcommon.h"
@@ -1333,6 +1334,8 @@ void PageManager::LoadLanguageList(ZipArchive* package) {
} else {
LoadLanguageListDir(TWRES "languages/");
}
+
+ std::sort(Language_List.begin(), Language_List.end());
}
void PageManager::LoadLanguage(string filename) {