mirror of
https://github.com/ModOrganizer2/mob.git
synced 2026-07-27 14:07:05 -07:00
fixed terminate handler never being called
ripped error message from uibase
This commit is contained in:
+4
-4
@@ -280,10 +280,10 @@ parsed_option parse_option(const std::string& s)
|
||||
"bad option {}, must be [task:]section/key=value", s);
|
||||
}
|
||||
|
||||
std::string task = trim_copy(m[1]);
|
||||
std::string section = trim_copy(m[2]);
|
||||
std::string key = trim_copy(m[3]);
|
||||
std::string value = trim_copy(m[4]);
|
||||
std::string task = trim_copy(m[1].str());
|
||||
std::string section = trim_copy(m[2].str());
|
||||
std::string key = trim_copy(m[3].str());
|
||||
std::string value = trim_copy(m[4].str());
|
||||
|
||||
return {task, section, key, value};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user