From fda6c42f6d675af85d6bdd74af20d7b2de34e64a Mon Sep 17 00:00:00 2001 From: The Dax Date: Fri, 11 Oct 2013 20:03:11 -0400 Subject: [PATCH] Fix dumb typo involving slash replacements. --- UI/MainScreen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UI/MainScreen.cpp b/UI/MainScreen.cpp index 3abce01e51..a194fdb8a4 100644 --- a/UI/MainScreen.cpp +++ b/UI/MainScreen.cpp @@ -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