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:
parent
a1cca48d0f
commit
3934b6d621
1 changed files with 1 additions and 1 deletions
|
@ -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)");
|
||||
|
|
Loading…
Reference in a new issue