Change Config::PrintConfig to use std::string
This commit is contained in:
parent
5a41709a47
commit
f243f585ed
4 changed files with 12 additions and 12 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue