opti:优化提示错误。
This commit is contained in:
@@ -19,13 +19,16 @@ bool ConfigIni::set_work_exe(const std::string& dir)
|
||||
return true;
|
||||
}
|
||||
|
||||
void ConfigIni::set_xml_path(const std::string& path)
|
||||
bool ConfigIni::set_xml_path(const std::string& path)
|
||||
{
|
||||
if (ini_.IsEmpty()) {
|
||||
return;
|
||||
return false;
|
||||
}
|
||||
ini_.SetValue("Basic", "xml_path", path.c_str());
|
||||
ini_.SaveFile(ini_path_.c_str());
|
||||
if (!ini_.SaveFile(ini_path_.c_str()) != SI_OK) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
OprBase ConfigIni::get_config()
|
||||
|
||||
Reference in New Issue
Block a user