tested with Borland/wxMSW; existing behaviour of replacing \\ with \ preserved
except at start of string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15945
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
p++;
// if we have 2 backslashes in a row, output one
p++;
// if we have 2 backslashes in a row, output one
+ // unless it looks like a UNC path \\machine\dir\file.ext
+ if ( isQuotedByBS || arg.Len() == 0 )
{
arg += _T('\\');
isQuotedByBS = FALSE;
{
arg += _T('\\');
isQuotedByBS = FALSE;