repaired signed/unsigned issue
This commit is contained in:
parent
2e3d9a756e
commit
2e84218655
@ -1585,7 +1585,7 @@ namespace cxxopts
|
|||||||
++current;
|
++current;
|
||||||
++addNewLine;
|
++addNewLine;
|
||||||
}
|
}
|
||||||
if (addNewLine == 0 && current - startLine >= width)
|
if (addNewLine == 0 && current >= startLine + width)
|
||||||
{
|
{
|
||||||
if (lastSpace != startLine)
|
if (lastSpace != startLine)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user