about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Src/utils.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c7deeebdc..6e94577af 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-02-26  Geoff Wing  <gcw@zsh.org>
+
+	* unposted: Src/utils.c: fix typos in 24596
+
 2008-02-26  Peter Stephenson  <pws@csr.com>
 
 	* 24596: Src/utils.c: if nl_langinfo(CODESET) returns ""
diff --git a/Src/utils.c b/Src/utils.c
index 271f2c046..3b27cb3dc 100644
--- a/Src/utils.c
+++ b/Src/utils.c
@@ -4885,7 +4885,7 @@ getkeystring(char *s, int *len, int how, int *misc)
 		     * It shouldn't ever be NULL, but while we're
 		     * being paranoid...
 		     */
-		    if (!codessetstr || !*codsetstr ||
+		    if (!codesetstr || !*codesetstr ||
 			!strcmp(codesetstr, "646"))
 			codesetstr == "US-ASCII";
     	    	    cd = iconv_open(nl_langinfo(CODESET), "UCS-4BE");