fix endless loop bug.

This commit is contained in:
Enno Rehling 2015-05-18 09:21:41 +02:00
parent 72e041dd32
commit c6b4c51b0d
1 changed files with 1 additions and 1 deletions

View File

@ -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] = ' ';