fix:逻辑错误。

This commit is contained in:
taynpg 2024-05-20 07:59:58 +08:00
parent 9b100aa19e
commit ed94e1cb10

View File

@ -25,7 +25,7 @@ bool ConfigIni::set_xml_path(const std::string& path)
return false; return false;
} }
ini_.SetValue("Basic", "xml_path", path.c_str()); 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 false;
} }
return true; return true;