projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f1d375
)
treat the string passed to MakeRelativeTo() as directory even if it doesn't have...
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Thu, 17 Jul 2003 21:22:39 +0000
(21:22 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Thu, 17 Jul 2003 21:22:39 +0000
(21:22 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22059
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/common/filename.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/common/filename.cpp
b/src/common/filename.cpp
index 674265b46280b8846b957e7e69cc1d408fb8bd4d..cc10adf2b32c536ce145554255892b56c40c853b 100644
(file)
--- a/
src/common/filename.cpp
+++ b/
src/common/filename.cpp
@@
-998,7
+998,7
@@
bool wxFileName::IsAbsolute(wxPathFormat format) const
bool wxFileName::MakeRelativeTo(const wxString& pathBase, wxPathFormat format)
{
- wxFileName fnBase(pathBase, format);
+ wxFileName fnBase
= wxFileName::DirName
(pathBase, format);
// get cwd only once - small time saving
wxString cwd = wxGetCwd();