mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 02:35:54 +08:00
Fixed a return value in the Config multi-string parser.
This commit is contained in:
parent
0264381f79
commit
36f51ff2bf
@ -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') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user