1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-22 00:21:27 +01:00

another fatfinger: change comparison to asignment

This commit is contained in:
Geoff Wing 2008-02-26 17:53:31 +00:00
parent a1cca48d0f
commit 3934b6d621

View file

@ -4887,7 +4887,7 @@ getkeystring(char *s, int *len, int how, int *misc)
*/
if (!codesetstr || !*codesetstr ||
!strcmp(codesetstr, "646"))
codesetstr == "US-ASCII";
codesetstr = "US-ASCII";
cd = iconv_open(nl_langinfo(CODESET), "UCS-4BE");
if (cd == (iconv_t)-1) {
zerr("cannot do charset conversion (iconv failed)");