Fixed a return value in the Config multi-string parser.

This commit is contained in:
bubnikv 2016-11-01 14:52:44 +01:00
parent 0264381f79
commit 36f51ff2bf

View file

@ -143,7 +143,7 @@ bool unescape_strings_cstyle(const std::string &str, std::vector<std::string> &o
// Store the string into the output vector. // Store the string into the output vector.
out.push_back(std::string(buf.data(), buf.size())); out.push_back(std::string(buf.data(), buf.size()));
if (i == str.size()) if (i == str.size())
break; return true;
// Skip white spaces. // Skip white spaces.
c = str[i]; c = str[i];
while (c == ' ' || c == '\t') { while (c == ' ' || c == '\t') {