Browse Source

this might work

master
despair 5 years ago
parent
commit
25ace5cdb1
  1. 4
      src/CFGFileParser.cpp

4
src/CFGFileParser.cpp

@ -52,7 +52,9 @@ void CFGFileParser::ParseText() { @@ -52,7 +52,9 @@ void CFGFileParser::ParseText() {
while (tmp != nullptr){
key = strtok_r(directives, ":", &tmp);
value = strtok_r(nullptr, "\t", &tmp);
cfg->Settings.insert({key,value});
cfg->Settings.insert({key,value});
key.clear();
value.clear();
}
}

Loading…
Cancel
Save