Merge pull request #4126 from thedax/fixLANLoading

Win32: Fix dumb typo involving slash replacements.
This commit is contained in:
Henrik Rydgård 2013-10-11 17:22:57 -07:00
commit b9e8491f42

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