diff --git a/src/report.c b/src/report.c index 716ac27fa..55dc99ed7 100644 --- a/src/report.c +++ b/src/report.c @@ -518,7 +518,7 @@ void sparagraph(strlist ** SP, const char *s, unsigned int indent, char mark) width = REPORTWIDTH - indent; firstline = 1; - for (;;) { + while (s[0]) { unsigned int j = 0, i; for (i=0; s[j]; j=i) {