forked from github/server
fix loop termination, sparagraph
This commit is contained in:
parent
c6b4c51b0d
commit
dbf022b757
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue