about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2003-09-03 13:41:25 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2003-09-03 13:41:25 +0000
commit8e359a669e064f16d9a3767a805da28af171d5e7 (patch)
treed72ac600748ad61e02a05c6252d0082d189e944c
parent3ffb3ad2f2f733fbee58e21dc6aab23827ab8d49 (diff)
downloadzsh-8e359a669e064f16d9a3767a805da28af171d5e7.tar.gz
zsh-8e359a669e064f16d9a3767a805da28af171d5e7.tar.xz
zsh-8e359a669e064f16d9a3767a805da28af171d5e7.zip
19020: fix printaliasnode
-rw-r--r--ChangeLog2
-rw-r--r--Src/hashtable.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index fc7a3cedf..762b77507 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2003-09-03  Peter Stephenson  <pws@csr.com>
 
+	* 19020: Src/hashtable.c: printaliasnode was screwed up by 19014.
+
 	* 19014: Completion/Zsh/Command/_alias,
 	Completion/Zsh/Type/.distfiles, Completion/Zsh/Type/_aliases,
 	Completion/Zsh/Type/_command_names,
diff --git a/Src/hashtable.c b/Src/hashtable.c
index faa858532..f23a68fc2 100644
--- a/Src/hashtable.c
+++ b/Src/hashtable.c
@@ -1119,7 +1119,7 @@ printaliasnode(HashNode hn, int printflags)
 	    printf("suffix ");
 	else if (a->flags & ALIAS_GLOBAL)
 	    printf("globally ");
-	printf (" aliased to ");
+	printf ("aliased to ");
 	nicezputs(a->text, stdout);
 	putchar('\n');
 	return;
@@ -1134,7 +1134,7 @@ printaliasnode(HashNode hn, int printflags)
 	    printf(" global");
 	else
 	    printf("n");
-	printf(" alias for");
+	printf(" alias for ");
 	nicezputs(a->text, stdout);
 	putchar('\n');
 	return;