]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed file: protocol for filenames with space (patch #815772)
authorVáclav Slavík <vslavik@fastmail.fm>
Wed, 1 Oct 2003 11:47:30 +0000 (11:47 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Wed, 1 Oct 2003 11:47:30 +0000 (11:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/sckfile.cpp

index 5dbc6a0c12e0f711fc3ba8430e0dd263976b0243..c9f723a1454479823460cf11037795e21a05a740 100644 (file)
@@ -43,7 +43,7 @@ wxFileProto::~wxFileProto()
 
 wxInputStream *wxFileProto::GetInputStream(const wxString& path)
 {
-  return new wxFileInputStream(path);
+  return new wxFileInputStream(wxURL::ConvertFromURI(path));
 }
 
 #endif // wxUSE_STREAMS && wxUSE_PROTOCOL_FILE