mirror of https://github.com/OpenTTD/OpenTTD.git
(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:
parent
3e5924b10f
commit
9ce2823959
|
@ -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()) */
|
||||
|
|
Loading…
Reference in New Issue