Fix dumb typo involving slash replacements.

This commit is contained in:
The Dax committed 2013-10-11 20:10:16 -04:00
1 parent e0b19decca
commit fda6c42f6d
1 file changed
+2 -2
+2 -2
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