mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-22 18:49:40 +00:00
(svn r22166) [1.1] -Backport from trunk:
- Fix: No update of NewGRF window when unknown GRF name becomes available [FS#4533] (r22162) - Fix: [NewGRF] Industry prop 0x11 is 4-bytes long, not 3 bytes (r22157) - Fix: Stations/infrastructure were not properly sold on some clients during bankruptcy [FS#4529] (r22154) - Fix: The Greek translation did not work as it breached the 200.000 bytes 'limit' for loading language files [FS#4536] (r22153)
This commit is contained in:
+1
-1
@@ -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()) */
|
||||
|
||||
Reference in New Issue
Block a user