Fix dumb typo involving slash replacements.
This commit is contained in:
parent
e0b19decca
commit
fda6c42f6d
1 changed files with 2 additions and 2 deletions
|
@ -606,7 +606,7 @@ UI::EventReturn MainScreen::OnLoadFile(UI::EventParams &e) {
|
|||
|
||||
UI::EventReturn MainScreen::OnGameSelected(UI::EventParams &e) {
|
||||
#ifdef _WIN32
|
||||
std::string path = ReplaceAll(e.s, "//", "/");
|
||||
std::string path = ReplaceAll(e.s, "\\", "/");
|
||||
#else
|
||||
std::string path = e.s;
|
||||
#endif
|
||||
|
@ -616,7 +616,7 @@ UI::EventReturn MainScreen::OnGameSelected(UI::EventParams &e) {
|
|||
|
||||
UI::EventReturn MainScreen::OnGameSelectedInstant(UI::EventParams &e) {
|
||||
#ifdef _WIN32
|
||||
std::string path = ReplaceAll(e.s, "//", "/");
|
||||
std::string path = ReplaceAll(e.s, "\\", "/");
|
||||
#else
|
||||
std::string path = e.s;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue