X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f66f6a5b3583b02c34854556eb83e3a808524ce..4521f6c88cbefa7f13e3733d344776b795f981e4:/src/html/helpdata.cpp diff --git a/src/html/helpdata.cpp b/src/html/helpdata.cpp index 6db3bc5c65..c60c74e626 100644 --- a/src/html/helpdata.cpp +++ b/src/html/helpdata.cpp @@ -474,7 +474,8 @@ void wxHtmlHelpData::SetTempDir(const wxString& path) m_tempPath = path; else { - wxFileName fn(path); + wxFileName fn; + fn.AssignDir(path); fn.MakeAbsolute(); m_tempPath = fn.GetPath(wxPATH_GET_VOLUME | wxPATH_GET_SEPARATOR);