]> git.saurik.com Git - wxWidgets.git/commit
Fix wxHtmlHelpData::SetTempDir() to behave correctly without trailing slash.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 23 Aug 2013 16:37:09 +0000 (16:37 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 23 Aug 2013 16:37:09 +0000 (16:37 +0000)
commit0d53638f7147c18153f63fdfc096b17be6e22a27
treec63b501d497fd968d9d34d3400dfdc9564a35f64
parentd58b140b13c4b9215a2d2de3f1a3c5efe418e669
Fix wxHtmlHelpData::SetTempDir() to behave correctly without trailing slash.

The path passed to this function is always a directory, so use
wxFileName::AssignDir() instead of the default constructor of wxFileName which
considers the name to be a name of a file unless it ends with a path separator.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
samples/stc/stctest.cpp
src/html/helpdata.cpp