don't append spaces to all arguments in ConvertStringToArgs()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-10-22 21:40:04 +00:00
parent 63e7198ba8
commit 93b79b6b57

View File

@@ -1153,7 +1153,7 @@ wxArrayString wxCmdLineParser::ConvertStringToArgs(const wxChar *p)
{
switch ( *p )
{
case _T('"'):
case _T('"'):
if ( !lastBS )
{
isInsideQuotes = !isInsideQuotes;
@@ -1178,7 +1178,9 @@ wxArrayString wxCmdLineParser::ConvertStringToArgs(const wxChar *p)
case _T('\0'):
endParam = TRUE;
break;
// exit from the loop directly, without changing arg
continue;
}
lastBS = *p == _T('\\');