fix a regression with printing bulletpoints
regression input: "***test***" Signed-off-by: Christoph Lohmann <20h@r-36.net>master
parent
36fb3f983b
commit
ed63e58c93
|
@ -77,10 +77,13 @@ fprintesc(FILE *fp, char *s, ssize_t len)
|
|||
fprintf(fp, " ");
|
||||
break;
|
||||
case '*':
|
||||
if (!intext) {
|
||||
if (intext) {
|
||||
fputc(s[i], fp);
|
||||
} else {
|
||||
fputc('o', fp);
|
||||
break;
|
||||
intext = 1;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
intext = 1;
|
||||
fputc(s[i], fp);
|
||||
|
|
Loading…
Reference in New Issue