bug in SplitPath() corrected - now ".." handled correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -243,6 +243,8 @@ void SplitPath(wxArrayString& aParts, const char *sz)
|
||||
wxLogWarning("'%s' has extra '..', ignored.", sz);
|
||||
else
|
||||
aParts.Remove(aParts.Count() - 1);
|
||||
|
||||
strCurrent.Empty();
|
||||
}
|
||||
else if ( !strCurrent.IsEmpty() ) {
|
||||
aParts.Add(strCurrent);
|
||||
|
Reference in New Issue
Block a user