Update to 7-Zip 17.00 Beta

This commit is contained in:
Tino Reichardt
2017-04-30 14:14:14 +02:00
parent 54389d6e2f
commit aa5ba75da0
451 changed files with 15746 additions and 8574 deletions

View File

@@ -12,9 +12,9 @@ void SplitStringToTwoStrings(const UString &src, UString &dest1, UString &dest2)
for (unsigned i = 0; i < src.Len(); i++)
{
const wchar_t c = src[i];
if (c == L'\"')
if (c == '\"')
quoteMode = !quoteMode;
else if (c == L' ' && !quoteMode)
else if (c == ' ' && !quoteMode)
{
dest2 = src.Ptr(i + 1);
return;
@@ -34,7 +34,7 @@ void SplitString(const UString &srcString, UStringVector &destStrings)
for (unsigned i = 0; i < len; i++)
{
wchar_t c = srcString[i];
if (c == L' ')
if (c == ' ')
{
if (!s.IsEmpty())
{