Codechange: Use automatic memory management for language pack reading.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user