Browse Source

corr SplitStr c

jl777
dimxy 5 years ago
parent
commit
124983720d
  1. 2
      src/util.cpp

2
src/util.cpp

@ -406,7 +406,7 @@ void SplitStr(const std::string& strVal, std::vector<std::string> &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())

Loading…
Cancel
Save