Correct cleaning string and remove unused vars
This commit is contained in:
parent
89dab444c4
commit
fec708489a
32 changed files with 38 additions and 48 deletions
|
@ -1488,7 +1488,7 @@ void GameSettingsScreen::TriggerRestart(const char *why) {
|
|||
std::string param = "--gamesettings";
|
||||
if (editThenRestore_) {
|
||||
// We won't pass the gameID, so don't resume back into settings.
|
||||
param = "";
|
||||
param.clear();
|
||||
} else if (!gamePath_.empty()) {
|
||||
param += " \"" + ReplaceAll(ReplaceAll(gamePath_.ToString(), "\\", "\\\\"), "\"", "\\\"") + "\"";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue