shithub: neatroff

Download patch

ref: 43b46fe48345634c85a5f432a802d330c549b6b7
parent: d328f9dfaf6a2134a7715a2ca0885787661d7c06
author: Ali Gholami Rudi <ali@rudi.ir>
date: Fri Aug 8 13:35:05 EDT 2014

reg: start with environment named "0"

--- a/reg.c
+++ b/reg.c
@@ -242,7 +242,7 @@
 	init_globals();
 	for (i = 0; i < LEN(eregs); i++)
 		eregs_idx[map(eregs[i])] = i + 1;
-	env_set(0);
+	env_set(map("0"));
 }
 
 void env_done(void)