From 9ce2823959025cca9d13c68e6ab06b9e0287440c Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 27 Feb 2011 06:36:14 +0000 Subject: (svn r22153) -Fix [FS#4536]: The Greek translation didn't work as it breached the 200.000 bytes "limit" for loading language files --- src/strings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/strings.cpp b/src/strings.cpp index d5bbabc01..d123f9874 100644 --- a/src/strings.cpp +++ b/src/strings.cpp @@ -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()) */ -- cgit v1.2.3-70-g09d2