GUI: U32: Load translation info correctly

This commit is contained in:
aryanrawlani28 2020-06-27 00:59:44 +05:30 committed by Eugene Sandulenko
parent dc1c82b74e
commit 6747e354b8

View file

@ -291,6 +291,10 @@ void TranslationManager::loadTranslationsInfoDat() {
// Get number of translations
int nbTranslations = in.readUint16BE();
for (int i = 0; i < nbTranslations + 2; i++) {
in.readUint16BE(); // skip
}
// Read list of languages
_langs.resize(nbTranslations);
_langNames.resize(nbTranslations);