Fix paragraphs after ruler

```
- - -

foo
```
did not work because the empty line was swallowed when parsing the
ruler.
This commit is contained in:
Karl Bartel 2019-10-02 13:03:36 +02:00 committed by Enno Boland
parent 68edb1b8fd
commit 7228740ed1

2
smu.c
View file

@ -207,7 +207,7 @@ dolineprefix(const char *begin, const char *end, int newblock) {
fputs(lineprefix[i].before, stdout);
if(lineprefix[i].search[l-1] == '\n') {
fputc('\n', stdout);
return l;
return l - 1;
}
if(!(buffer = malloc(BUFSIZ)))
eprint("Malloc failed.");