From 36f51ff2bfb03af88e2121703578817fca13f0d9 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Tue, 1 Nov 2016 14:52:44 +0100 Subject: 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 6d89735b8..a8dda7379 100644 --- a/xs/src/libslic3r/Config.cpp +++ b/xs/src/libslic3r/Config.cpp @@ -143,7 +143,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') { -- cgit v1.2.3