From cc05f66ba1a0c4641b4dc19b77b252470d346350 Mon Sep 17 00:00:00 2001 From: Rachel Bryk Date: Wed, 9 Oct 2013 16:18:33 -0400 Subject: [PATCH] Don't prepend file:// in wxUtils::Explore() on windows. Wxw will just remove it, and/or blow up trying to remove it, if the path isn't ascii. Fixes issue 6721. --- Source/Core/DolphinWX/Src/WxUtils.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/DolphinWX/Src/WxUtils.cpp b/Source/Core/DolphinWX/Src/WxUtils.cpp index ba245c090d..617e32901e 100644 --- a/Source/Core/DolphinWX/Src/WxUtils.cpp +++ b/Source/Core/DolphinWX/Src/WxUtils.cpp @@ -28,11 +28,13 @@ void Launch(const char *filename) void Explore(const char *path) { wxString wxPath = StrToWxStr(path); +#ifndef _WIN32 // Default to file if (! wxPath.Contains(wxT("://"))) { wxPath = wxT("file://") + wxPath; } +#endif #ifdef __WXGTK__ wxPath.Replace(wxT(" "), wxT("\\ "));