mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +08:00
refs #345 Fixed mistake.
This commit is contained in:
@@ -17,7 +17,7 @@ namespace BlackMisc
|
||||
for (const auto c : string)
|
||||
{
|
||||
if (c == '(') { level++; }
|
||||
if (c == ')') { level++; }
|
||||
if (c == ')') { level--; }
|
||||
if (c == ',' && level == 0) { m_raw.push_back(current.trimmed()); current.clear(); }
|
||||
else { current += c; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user