shithub: neatroff

Download patch

ref: e19a3043b55786cc4cede7d9d8ba4641985e1b59
parent: d89240a6c8f92e31ec473c8dc9370947aa368aa2
author: Ali Gholami Rudi <[email protected]>
date: Wed May 15 17:19:24 EDT 2013

tr: set tr_nl in tr_first()

tr_nl may become invalid after cp_back().

--- a/tr.c
+++ b/tr.c
@@ -687,4 +687,5 @@
 void tr_first(void)
 {
 	cp_back(tr_next());
+	tr_nl = 1;
 }