diff --git a/src/util.cpp b/src/util.cpp index e1d37b4a9..163e4aad3 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -406,7 +406,7 @@ void SplitStr(const std::string& strVal, std::vector &outVals) while (std::isspace(ss.peek())) ss.ignore(); - while (!ss.eofbit && !std::isspace(c = ss.get() && c != ',')) + while (!ss.eofbit && !std::isspace(c = ss.get()) && c != ',') str += c; if (!str.empty())