diff options
Diffstat (limited to 'Common/CommandLineParser.cpp')
-rwxr-xr-x | Common/CommandLineParser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Common/CommandLineParser.cpp b/Common/CommandLineParser.cpp index 69c41841..67f72675 100755 --- a/Common/CommandLineParser.cpp +++ b/Common/CommandLineParser.cpp @@ -33,7 +33,7 @@ void SplitCommandLine(const UString &s, UStringVector &parts) UString sTemp = s; sTemp.Trim(); parts.Clear(); - while (true) + for (;;) { UString s1, s2; SplitCommandLine(sTemp, s1, s2); @@ -42,7 +42,7 @@ void SplitCommandLine(const UString &s, UStringVector &parts) if (!s1.IsEmpty()) parts.Add(s1); if (s2.IsEmpty()) - return; + break; sTemp = s2; } } |