Commit 943cdcfbbaa205f9a1789d96c7a57accfabcd233

Authored by Felix Esch
Committed by jarro2783
1 parent 23f56e26

Fix assertion failure (issue #217) (#218)

Showing 1 changed file with 1 additions and 0 deletions
include/cxxopts.hpp
... ... @@ -1559,6 +1559,7 @@ namespace cxxopts
1559 1559 stringAppend(result, "\n");
1560 1560 stringAppend(result, start, ' ');
1561 1561 startLine = lastSpace + 1;
  1562 + lastSpace = startLine;
1562 1563 }
1563 1564 size = 0;
1564 1565 }
... ...