(svn r22153) -Fix [FS#4536]: The Greek translation didn't work as it breached the 200.000 bytes "limit" for loading language files

This commit is contained in:
rubidium 2011-02-27 06:36:14 +00:00
parent 3e5924b10f
commit 9ce2823959
1 changed files with 1 additions and 1 deletions

View File

@ -1457,7 +1457,7 @@ bool ReadLanguagePack(const LanguageMetadata *lang)
{
/* Current language pack */
size_t len;
LanguagePack *lang_pack = (LanguagePack *)ReadFileToMem(lang->file, &len, 200000);
LanguagePack *lang_pack = (LanguagePack *)ReadFileToMem(lang->file, &len, 1U << 20);
if (lang_pack == NULL) return false;
/* End of read data (+ terminating zero added in ReadFileToMem()) */