ifix a regression with printing bulletpoints - pointtools - Simple point utilities to hold text presentations. Err bitreich.org 70 hgit clone git://bitreich.org/pointtools/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/pointtools/ URL:git://bitreich.org/pointtools/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/pointtools/ bitreich.org 70 1Log /scm/pointtools/log.gph bitreich.org 70 1Files /scm/pointtools/files.gph bitreich.org 70 1Refs /scm/pointtools/refs.gph bitreich.org 70 1Tags /scm/pointtools/tag bitreich.org 70 1README /scm/pointtools/file/README.md.gph bitreich.org 70 1LICENSE /scm/pointtools/file/LICENSE.gph bitreich.org 70 i--- Err bitreich.org 70 1commit ed63e58c9395f38477c7db1795f507fb70f80aee /scm/pointtools/commit/ed63e58c9395f38477c7db1795f507fb70f80aee.gph bitreich.org 70 1parent 36fb3f983b760f2f5725b2a0a51356a0782e0417 /scm/pointtools/commit/36fb3f983b760f2f5725b2a0a51356a0782e0417.gph bitreich.org 70 hAuthor: Hiltjo Posthuma URL:mailto:hiltjo@codemadness.org bitreich.org 70 iDate: Wed, 29 Apr 2020 18:57:17 +0200 Err bitreich.org 70 i Err bitreich.org 70 ifix a regression with printing bulletpoints Err bitreich.org 70 i Err bitreich.org 70 iregression input: "***test***" Err bitreich.org 70 i Err bitreich.org 70 iSigned-off-by: Christoph Lohmann <20h@r-36.net> Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i M md2point.c | 7 +++++-- Err bitreich.org 70 i Err bitreich.org 70 i1 file changed, 5 insertions(+), 2 deletions(-) Err bitreich.org 70 i--- Err bitreich.org 70 1diff --git a/md2point.c b/md2point.c /scm/pointtools/file/md2point.c.gph bitreich.org 70 i@@ -77,10 +77,13 @@ fprintesc(FILE *fp, char *s, ssize_t len) Err bitreich.org 70 i fprintf(fp, " "); Err bitreich.org 70 i break; Err bitreich.org 70 i case '*': Err bitreich.org 70 i- if (!intext) { Err bitreich.org 70 i+ if (intext) { Err bitreich.org 70 i+ fputc(s[i], fp); Err bitreich.org 70 i+ } else { Err bitreich.org 70 i fputc('o', fp); Err bitreich.org 70 i- break; Err bitreich.org 70 i+ intext = 1; Err bitreich.org 70 i } Err bitreich.org 70 i+ break; Err bitreich.org 70 i default: Err bitreich.org 70 i intext = 1; Err bitreich.org 70 i fputc(s[i], fp); Err bitreich.org 70 .