shithub: neatroff

Download patch

ref: 4204e437326732a158aeac07d94123131c3502a7
parent: 50d296790f722e742b93a99778428719daca23a2
author: Ali Gholami Rudi <[email protected]>
date: Wed Sep 17 06:50:18 EDT 2014

ren: requests causing line breaks should output the first page

Reported by Carsten Kunze <[email protected]>.

--- a/ren.c
+++ b/ren.c
@@ -387,6 +387,7 @@
 /* output current line; returns 1 if triggered a trap */
 static int ren_br(void)
 {
+	ren_first();
 	ren_fmtword(cwb);
 	ren_fmtpopall(cfmt);
 	while (fmt_br(cfmt))