shithub: neatroff

Download patch

ref: 81f6246fe361c7de51f705d2f24af4e02b5e8a34
parent: db3d3cc52a15f9f4dfb340cbefbeef982f6ec025
author: Ali Gholami Rudi <ali@rudi.ir>
date: Wed Sep 17 12:20:34 EDT 2014

ren: .sp inside diverted text should not be inhibited after .ns

Reported by Carsten Kunze <carsten.kunze@arcor.de>.

--- a/ren.c
+++ b/ren.c
@@ -409,7 +409,7 @@
 	int n = args[1] ? eval(args[1], 'v') : n_v;
 	if (args[0][0] == c_cc)
 		traps = ren_br();
-	if (n && !n_ns && !traps)
+	if (n && (!n_ns || ren_div) && !traps)
 		down(n);
 }