Fix dumb typo involving slash replacements.

This commit is contained in:
The Dax 2013-10-11 20:03:11 -04:00
parent e0b19decca
commit fda6c42f6d

View File

@ -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