about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Src/hist.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a000719c5..321d9fc1d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2015-01-06  Mikael Magnusson  <mikachu@gmail.com>
 
+	* 34106: Src/hist.c: use zhtricat instead of tricat
+
 	* 34113: Src/builtin.c: whence: use dupstring to not leak memory
 
 	* 34119: Src/Zle/complist.c: Fix leak of string in clnicezputs
diff --git a/Src/hist.c b/Src/hist.c
index 8ff9eff82..d8192c1c5 100644
--- a/Src/hist.c
+++ b/Src/hist.c
@@ -3111,7 +3111,7 @@ bufferwords(LinkList list, char *buf, int *index, int flags)
 		     * double quotes.  Whitespace in the middle is
 		     * similarly retained, so just add the parentheses back.
 		     */
-		    p = tricat("((", tokstr, "))");
+		    p = zhtricat("((", tokstr, "))");
 		}
 		break;