shithub: neatroff

Download patch

ref: 05c88d412964ab29325e06b313e5d1f5aa11d8df
parent: 681cf1fceba4ea761a0b16612e28381167ef7752
author: Ali Gholami Rudi <ali@rudi.ir>
date: Fri May 26 06:33:15 EDT 2017

reg: set tab types when resetting environments

--- a/reg.c
+++ b/reg.c
@@ -247,8 +247,10 @@
 		n_nS = 1;
 		strcpy(env->hc, "\\%");
 		strcpy(env->lc, ".");
-		for (i = 0; i < NTABS; i++)
+		for (i = 0; i < NTABS; i++) {
 			env->tabs[i] = i * SC_IN / 2;
+			env->tabs_type[i] = 'L';
+		}
 	}
 }