From cc01e6565de5f306a5aa6f02bfe37c67ec75022a Mon Sep 17 00:00:00 2001 From: bubnikv Date: Tue, 1 Nov 2016 14:52:44 +0100 Subject: [PATCH] Fixed a return value in the Config multi-string parser. --- xs/src/libslic3r/Config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xs/src/libslic3r/Config.cpp b/xs/src/libslic3r/Config.cpp index 899936334..104fa28d0 100644 --- a/xs/src/libslic3r/Config.cpp +++ b/xs/src/libslic3r/Config.cpp @@ -154,7 +154,7 @@ bool unescape_strings_cstyle(const std::string &str, std::vector &o // Store the string into the output vector. out.push_back(std::string(buf.data(), buf.size())); if (i == str.size()) - break; + return true; // Skip white spaces. c = str[i]; while (c == ' ' || c == '\t') {