about summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/compresult.c4
-rw-r--r--Src/Zle/zle_tricky.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/Src/Zle/compresult.c b/Src/Zle/compresult.c
index 6870bbcd9..78b22ff59 100644
--- a/Src/Zle/compresult.c
+++ b/Src/Zle/compresult.c
@@ -1585,8 +1585,8 @@ mod_export int asklist(void)
 	 (!complistmax && listdat.nlines >= lines))) {
 	int qup;
 	zsetterm();
-	qup = printfmt("zsh: do you wish to see all %n possibilities? ",
-		       listdat.nlist, 1, 1);
+	qup = printfmt("zsh: do you wish to see all %n lines? ",
+		       listdat.nlines, 1, 1);
 	fflush(shout);
 	if (getzlequery() != 'y') {
 	    if (clearflag) {
diff --git a/Src/Zle/zle_tricky.c b/Src/Zle/zle_tricky.c
index 5dc8a5e06..4c7286ee9 100644
--- a/Src/Zle/zle_tricky.c
+++ b/Src/Zle/zle_tricky.c
@@ -1991,8 +1991,8 @@ listlist(LinkList l)
 	int qup;
 
 	zsetterm();
-	qup = printfmt("zsh: do you wish to see all %n possibilities? ",
-		       num, 1, 1);
+	qup = printfmt("zsh: do you wish to see all %n lines? ",
+		       nlines, 1, 1);
 	fflush(shout);
 	if (getzlequery() != 'y') {
 	    if (clearflag) {