expandtab

This commit is contained in:
Jeffrey Crowell 2022-07-08 01:06:43 -04:00
parent 2b29dbbc42
commit 205f815cd0
1 changed files with 1 additions and 1 deletions

View File

@ -509,7 +509,7 @@ void DebugConsole_LoadCVars()
if (cfg.size() < 2) continue;
if (cfg[1].find("\"") != std::string::npos) {
std::string value(cfg[1]);
value.erase(std::remove(value.begin(), value.end(), '\"'), value.end());
value.erase(std::remove(value.begin(), value.end(), '\"'), value.end());
CVar_SetString(cfg[0].c_str(), ImStrdup(value.c_str()));
}
if (is_number<float>(cfg[1])) {