diff options
-rw-r--r-- | badroff.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -144,6 +144,7 @@ char* typeset(void){ // wsend is last index with a piece of whitespace for (len = min(wsend,len-1); next[len] == ' '; len--); // check, within the string, behind the whitespace for a letter. + if (next[len] == '\n') len--; // "\n" shouldn't become "\n\n" // len should be *index of* last letter if (peekchrbuf(inbuf, wsend) == '\n') cont_typst = false; else cont_typst = true; |