Fixed result string and line size
This commit is contained in:
parent
f75feab968
commit
3c57aa9af5
@ -1417,8 +1417,10 @@ namespace cxxopts
|
||||
|
||||
if (*current == '\n')
|
||||
{
|
||||
stringAppend(result, startLine, current + 1);
|
||||
startLine = current + 1;
|
||||
lastSpace = startLine;
|
||||
size = 0;
|
||||
}
|
||||
else if (size > width)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user