diff options
Diffstat (limited to 'ufed-curses-checklist.c')
-rw-r--r-- | ufed-curses-checklist.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ufed-curses-checklist.c b/ufed-curses-checklist.c index 2ac712b..8a3e9e1 100644 --- a/ufed-curses-checklist.c +++ b/ufed-curses-checklist.c @@ -630,8 +630,8 @@ static int findFlagStart(sFlag* flag, int* index, sWrap** wrap, int* line, bool* if (isDescLegal(flag, *index)) { if (eWrap_normal == e_wrap) { ++(*line); - ++usedLines; ++(*index); + ++usedLines; } else { /* With wrapped descriptions there are two possible * situations: @@ -665,6 +665,8 @@ static int findFlagStart(sFlag* flag, int* index, sWrap** wrap, int* line, bool* } } // End of handling wrapped lines } // End of having a legal flag + else + ++(*index); } // end of moving to line 0 // Write back wrapPart: |