Fix assertion failure (issue #217)

This commit is contained in:
Felix Esch 2020-01-04 13:13:18 +01:00
parent 23f56e2614
commit 111b313f8a

View File

@ -1559,6 +1559,7 @@ namespace cxxopts
stringAppend(result, "\n"); stringAppend(result, "\n");
stringAppend(result, start, ' '); stringAppend(result, start, ' ');
startLine = lastSpace + 1; startLine = lastSpace + 1;
lastSpace = startLine;
} }
size = 0; size = 0;
} }