Fixed my sloppy fix for redundant path separators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
490da436c8
commit
54905eba2a
@ -1220,7 +1220,7 @@ wxString wxFileName::GetPath( int flags, wxPathFormat format ) const
|
||||
}
|
||||
}
|
||||
|
||||
if ( (flags & wxPATH_GET_SEPARATOR) && !fullpath.empty() && fullpath.Last() != wxFILE_SEP_PATH)
|
||||
if ( (flags & wxPATH_GET_SEPARATOR) && !fullpath.empty() && fullpath.Last() != GetPathSeparator(format))
|
||||
{
|
||||
fullpath += GetPathSeparator(format);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user