diff options
author | Michael Lutz <michi@icosahedron.de> | 2020-12-06 21:11:48 +0100 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2020-12-27 13:19:25 +0100 |
commit | 024a3f62593fd783285c5ff09b8c85ee1fc34e2d (patch) | |
tree | 66673d58530d8c19272657678eb711dd29722e3a /src/table | |
parent | 5cbb2da79434ec002831bd72b2c81f9dcd469601 (diff) | |
download | openttd-024a3f62593fd783285c5ff09b8c85ee1fc34e2d.tar.xz |
Codechange: Use automatic memory management for language pack reading.
Diffstat (limited to 'src/table')
-rw-r--r-- | src/table/misc_settings.ini | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/table/misc_settings.ini b/src/table/misc_settings.ini index 60799a436..edad84816 100644 --- a/src/table/misc_settings.ini +++ b/src/table/misc_settings.ini @@ -5,7 +5,7 @@ ; [pre-amble] -extern char _config_language_file[MAX_PATH]; +extern std::string _config_language_file; static const char *_support8bppmodes = "no|system|hardware"; @@ -107,9 +107,9 @@ type = SLE_STRQ var = _ini_blitter def = nullptr -[SDTG_STR] +[SDTG_SSTR] name = ""language"" -type = SLE_STRB +type = SLE_STR var = _config_language_file def = nullptr cat = SC_BASIC |