]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filename.cpp
Fix crash when using a proxy (m_protocol already gets cleaned up via CleanData())
[wxWidgets.git] / src / common / filename.cpp
index 46ce327c19c6ccc23d1607e9a00733cdd40d46b0..17664f0fbab0a5e82318028d084c97bd1bdb4ed1 100644 (file)
@@ -452,7 +452,8 @@ void wxFileName::Assign(const wxString& fullpathOrig,
                   _T("the path shouldn't contain file name nor extension") );
 
 #else // !__WXDEBUG__
-    SplitPath(fullname, NULL /* no path */, &name, &ext, &hasExt, format);
+    SplitPath(fullname, NULL /* no volume */, NULL /* no path */,
+                        &name, &ext, &hasExt, format);
     SplitPath(fullpath, &volume, &path, NULL, NULL, format);
 #endif // __WXDEBUG__/!__WXDEBUG__