1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-23 04:30:24 +02:00

18587: fix bug where only the beginning of the association key was compared

This commit is contained in:
Oliver Kiddle 2003-05-30 12:35:59 +00:00
parent 5e22d7ee42
commit cba898f217
2 changed files with 6 additions and 1 deletions

View file

@ -388,7 +388,7 @@ liitem(char *name)
nlcode = &nl_vals[0];
for (element = (char **)nl_names; *element; element++, nlcode++) {
if ((!strncmp(*element, name, strlen(*element))))
if ((!strcmp(*element, name)))
return nlcode;
}