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