diff --git a/src/util.cpp b/src/util.cpp index fe28acf75..70f638f93 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 ((c = ss.get()) != EOF && !std::isspace(c = ss.get()) && c != ',') + while ((c = ss.get()) != EOF && !std::isspace(c) && c != ',') str += c; if (!str.empty())