about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2011-08-14 14:16:45 +0000
committerMikael Magnusson <mikachu@gmail.com>2011-08-14 14:16:45 +0000
commitd0366e19605f8ab3c2d05ec9a7dbcb63c41ac89b (patch)
tree406db7fd7f8ac448b4596e0c1fada5e589db5914
parent20c52f622154ed00fac8ed3cf6416e955551d372 (diff)
downloadzsh-d0366e19605f8ab3c2d05ec9a7dbcb63c41ac89b.tar.gz
zsh-d0366e19605f8ab3c2d05ec9a7dbcb63c41ac89b.tar.xz
zsh-d0366e19605f8ab3c2d05ec9a7dbcb63c41ac89b.zip
unposted: fix a typo in a comment.
-rw-r--r--ChangeLog4
-rw-r--r--Src/hist.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e1cbeaa84..de6eff507 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,8 @@
 	* 28852: Misc/zargs, Zle/match-words-by-style: Use syntax that doesn't
 	depend on SHORT_LOOPS being set.
 
+	* unposted: Src/hist.c: fix a typo in a comment.
+
 2011-08-11  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* Src/Modules/datetime.mdd: unposted: also fix the autofeatures.
@@ -15242,5 +15244,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5424 $
+* $Revision: 1.5425 $
 *****************************************************
diff --git a/Src/hist.c b/Src/hist.c
index 6edd7b8cd..636f46411 100644
--- a/Src/hist.c
+++ b/Src/hist.c
@@ -229,7 +229,7 @@ ihwaddc(int c)
 	/* Quote un-expanded bangs in the history line. */
 	if (c == bangchar && stophist < 2 && qbang)
 	    /* If qbang is not set, we do not escape this bangchar as it's *
-	     * not mecessary (e.g. it's a bang in !=, or it is followed    *
+	     * not necessary (e.g. it's a bang in !=, or it is followed    *
 	     * by a space). Roughly speaking, qbang is zero only if the    *
 	     * history interpreter has already digested this bang and      *
 	     * found that it is not necessary to escape it.                */