1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-06 03:32:09 +01:00

Spaces allowed in batch command parameter values now

PROVIDED you use single or double quotes around the string.
This commit is contained in:
James Crook
2018-01-18 15:30:05 +00:00
parent f9fb4b3b7d
commit f8be26a9b8
2 changed files with 21 additions and 2 deletions

View File

@@ -308,6 +308,11 @@ bool ShuttleCli::ExchangeWithMaster(const wxString & Name)
terminator = wxT('"');
j++;
}
else if(mParams.GetChar(j) == wxT('\'')) // or by single quotes.
{
terminator = wxT('\'');
j++;
}
i=j;
while( j<(int)mParams.Length() && mParams.GetChar(j) != terminator )
j++;