shithub: neatroff

Download patch

ref: ce91ef69c3cea83e7ec77f79f2ada45f345eb944
parent: ed5601dd4cf3497c6bc63cd34fe6d78c1094594b
author: Ali Gholami Rudi <[email protected]>
date: Mon Sep 1 16:36:35 EDT 2014

tr: fix .cc and .c2

--- a/tr.c
+++ b/tr.c
@@ -382,12 +382,12 @@
 
 static void tr_cc(char **args)
 {
-	c_ec = args[1] ? args[1][0] : '.';
+	c_cc = args[1] ? args[1][0] : '.';
 }
 
 static void tr_c2(char **args)
 {
-	c_ec = args[1] ? args[1][0] : '\'';
+	c_c2 = args[1] ? args[1][0] : '\'';
 }
 
 static void tr_eo(char **args)