about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-02-26 20:50:11 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-02-26 20:50:11 +0000
commite21bd541a286cd3946a3951e3dad88a0ef46d530 (patch)
treeef81dac8f331bee546a710856a7c9d6acdc92657 /Src
parent3934b6d62123e0b1a310fbc478ce45a1913f76fc (diff)
downloadzsh-e21bd541a286cd3946a3951e3dad88a0ef46d530.tar.gz
zsh-e21bd541a286cd3946a3951e3dad88a0ef46d530.tar.xz
zsh-e21bd541a286cd3946a3951e3dad88a0ef46d530.zip
24600: yet another typo
24602: fix test when not run
Diffstat (limited to 'Src')
-rw-r--r--Src/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/utils.c b/Src/utils.c
index e9f551d50..eab36de2a 100644
--- a/Src/utils.c
+++ b/Src/utils.c
@@ -4888,7 +4888,7 @@ getkeystring(char *s, int *len, int how, int *misc)
 		    if (!codesetstr || !*codesetstr ||
 			!strcmp(codesetstr, "646"))
 			codesetstr = "US-ASCII";
-    	    	    cd = iconv_open(nl_langinfo(CODESET), "UCS-4BE");
+    	    	    cd = iconv_open(codesetstr, "UCS-4BE");
 		    if (cd == (iconv_t)-1) {
 			zerr("cannot do charset conversion (iconv failed)");
 			CHARSET_FAILED();