Applied some of patch [ 688466 ] MSVC7 build & bug fixes
by Darren Whobrey git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1406,7 +1406,7 @@ wxString wxFindFirstFile(const wxChar *spec, int flags)
|
||||
wxSplitPath(spec, &gs_dirPath, NULL, NULL);
|
||||
if ( gs_dirPath.IsEmpty() )
|
||||
gs_dirPath = wxT(".");
|
||||
if ( gs_dirPath.Last() != wxFILE_SEP_PATH )
|
||||
if ( !wxEndsWithPathSeparator(gs_dirPath ) )
|
||||
gs_dirPath << wxFILE_SEP_PATH;
|
||||
|
||||
if (gs_dir)
|
||||
|
Reference in New Issue
Block a user