fix loop termination, sparagraph

This commit is contained in:
Enno Rehling 2015-05-18 09:37:31 +02:00
parent c6b4c51b0d
commit dbf022b757
1 changed files with 1 additions and 1 deletions

View File

@ -518,7 +518,7 @@ void sparagraph(strlist ** SP, const char *s, unsigned int indent, char mark)
width = REPORTWIDTH - indent; width = REPORTWIDTH - indent;
firstline = 1; firstline = 1;
for (;;) { while (s[0]) {
unsigned int j = 0, i; unsigned int j = 0, i;
for (i=0; s[j]; j=i) { for (i=0; s[j]; j=i) {