fix:逻辑错误。
This commit is contained in:
parent
9b100aa19e
commit
ed94e1cb10
@ -25,7 +25,7 @@ bool ConfigIni::set_xml_path(const std::string& path)
|
||||
return false;
|
||||
}
|
||||
ini_.SetValue("Basic", "xml_path", path.c_str());
|
||||
if (!ini_.SaveFile(ini_path_.c_str()) != SI_OK) {
|
||||
if (ini_.SaveFile(ini_path_.c_str()) != SI_OK) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user