19020: fix printaliasnode

This commit is contained in:
Peter Stephenson 2003-09-03 13:41:25 +00:00
parent 3ffb3ad2f2
commit 8e359a669e
2 changed files with 4 additions and 2 deletions

View file

@ -1,5 +1,7 @@
2003-09-03 Peter Stephenson <pws@csr.com> 2003-09-03 Peter Stephenson <pws@csr.com>
* 19020: Src/hashtable.c: printaliasnode was screwed up by 19014.
* 19014: Completion/Zsh/Command/_alias, * 19014: Completion/Zsh/Command/_alias,
Completion/Zsh/Type/.distfiles, Completion/Zsh/Type/_aliases, Completion/Zsh/Type/.distfiles, Completion/Zsh/Type/_aliases,
Completion/Zsh/Type/_command_names, Completion/Zsh/Type/_command_names,

View file

@ -1119,7 +1119,7 @@ printaliasnode(HashNode hn, int printflags)
printf("suffix "); printf("suffix ");
else if (a->flags & ALIAS_GLOBAL) else if (a->flags & ALIAS_GLOBAL)
printf("globally "); printf("globally ");
printf (" aliased to "); printf ("aliased to ");
nicezputs(a->text, stdout); nicezputs(a->text, stdout);
putchar('\n'); putchar('\n');
return; return;
@ -1134,7 +1134,7 @@ printaliasnode(HashNode hn, int printflags)
printf(" global"); printf(" global");
else else
printf("n"); printf("n");
printf(" alias for"); printf(" alias for ");
nicezputs(a->text, stdout); nicezputs(a->text, stdout);
putchar('\n'); putchar('\n');
return; return;