UNC fix to directory path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -310,8 +310,11 @@ int wxFileDialog::ShowModal()
|
|||||||
if ( chNext != _T('\\') && chNext != _T('/') )
|
if ( chNext != _T('\\') && chNext != _T('/') )
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// ignore the next one
|
// ignore the next one, unless it is at the start of a UNC path
|
||||||
|
if (i > 0)
|
||||||
i++;
|
i++;
|
||||||
|
else
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
// fall through
|
// fall through
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user