X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/121680bff0940ec8614a6e296c605def31099239..aa99e0cd2242db04fe1f9bb7d91aea545def2422:/src/common/filesys.cpp diff --git a/src/common/filesys.cpp b/src/common/filesys.cpp index 5e10fd8d44..814d17d6a6 100644 --- a/src/common/filesys.cpp +++ b/src/common/filesys.cpp @@ -4,7 +4,7 @@ // Author: Vaclav Slavik // Copyright: (c) 1999 Vaclav Slavik // CVS-ID: $Id$ -// Licence: wxWindows Licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) @@ -519,7 +519,7 @@ wxString wxFileSystem::FileNameToURL(const wxFileName& filename) // unc notation, wxMSW if ( url.Find(wxT("\\\\")) == 0 ) { - url = url.Mid(2); + url = wxT("//") + url.Mid(2); } else {