From 943cdcfbbaa205f9a1789d96c7a57accfabcd233 Mon Sep 17 00:00:00 2001 From: Felix Esch Date: Wed, 8 Jan 2020 07:14:46 +0100 Subject: [PATCH] Fix assertion failure (issue #217) (#218) --- include/cxxopts.hpp | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/include/cxxopts.hpp b/include/cxxopts.hpp index 93c69d3..1644692 100644 --- a/include/cxxopts.hpp +++ b/include/cxxopts.hpp @@ -1559,6 +1559,7 @@ namespace cxxopts stringAppend(result, "\n"); stringAppend(result, start, ' '); startLine = lastSpace + 1; + lastSpace = startLine; } size = 0; } -- libgit2 0.21.4