projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
432e839
)
corrected passing const char * to a function taking char * (part of the patch 543892)
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Mon, 15 Apr 2002 18:47:34 +0000
(18:47 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Mon, 15 Apr 2002 18:47:34 +0000
(18:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15148
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/common/filefn.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/common/filefn.cpp
b/src/common/filefn.cpp
index 66009c3b70fa56bd3e399f0a01cac746653983a9..17ab7782d64c14c69ce79142f201337b847a78ce 100644
(file)
--- a/
src/common/filefn.cpp
+++ b/
src/common/filefn.cpp
@@
-1371,7
+1371,7
@@
static wxString gs_dirPath;
wxString wxFindFirstFile(const wxChar *spec, int flags)
{
-
gs_dirPath = wxPathOnly(spec
);
+
wxSplitPath(spec, &gs_dirPath, NULL, NULL
);
if ( gs_dirPath.IsEmpty() )
gs_dirPath = wxT(".");
if ( gs_dirPath.Last() != wxFILE_SEP_PATH )