mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-06 15:14:59 -06:00
17.00
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user