1
0
Fork 0

Change Config::PrintConfig to use std::string

This commit is contained in:
Patryk Obara 2020-04-04 03:31:54 +02:00 committed by Patryk Obara
parent 5a41709a47
commit f243f585ed
4 changed files with 12 additions and 12 deletions

View file

@ -297,8 +297,8 @@ private:
name = config_path + name;
}
WriteOut(MSG_Get("PROGRAM_CONFIG_FILE_WHICH"),name.c_str());
if (!control->PrintConfig(name.c_str())) {
WriteOut(MSG_Get("PROGRAM_CONFIG_FILE_ERROR"),name.c_str());
if (!control->PrintConfig(name)) {
WriteOut(MSG_Get("PROGRAM_CONFIG_FILE_ERROR"), name.c_str());
}
return;
}