From c6b4c51b0ddd4adc430ef02015e97dc3b4d08612 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Mon, 18 May 2015 09:21:41 +0200 Subject: [PATCH] fix endless loop bug. --- src/report.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/report.c b/src/report.c index aab6f6691..716ac27fa 100644 --- a/src/report.c +++ b/src/report.c @@ -535,7 +535,7 @@ void sparagraph(strlist ** SP, const char *s, unsigned int indent, char mark) break; } i = j + 1; - } while (s[j]); + } for (j = 0; j != indent; j++) buf[j] = ' ';