mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-07-29 19:18:58 -07:00
expandtab
This commit is contained in:
parent
2b29dbbc42
commit
205f815cd0
1 changed files with 1 additions and 1 deletions
|
@ -509,7 +509,7 @@ void DebugConsole_LoadCVars()
|
||||||
if (cfg.size() < 2) continue;
|
if (cfg.size() < 2) continue;
|
||||||
if (cfg[1].find("\"") != std::string::npos) {
|
if (cfg[1].find("\"") != std::string::npos) {
|
||||||
std::string value(cfg[1]);
|
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()));
|
CVar_SetString(cfg[0].c_str(), ImStrdup(value.c_str()));
|
||||||
}
|
}
|
||||||
if (is_number<float>(cfg[1])) {
|
if (is_number<float>(cfg[1])) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue