diff options
Diffstat (limited to 'badroff.c')
-rw-r--r-- | badroff.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -172,7 +172,7 @@ char* foldlines(llnode* tail, size_t ct){ bool done = true; // if stays true, all strings are complete llnode* orig = tail; do { // check every string - if (tail->str[i] == 0) tail->end = true; + if (!tail->end && tail->str[i] == 0) tail->end = true; // ignore strings that have already finished else if (!tail->end){ done = false; |