about summary refs log tree commit diff
path: root/Src/Zle/zle_tricky.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-02-13 21:54:41 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-02-13 21:54:41 +0000
commitbd6baa2ede23c152a9941c3312d93f1f0b1392e8 (patch)
tree3e10404334adf6e821a86011f9b3ab53381cb478 /Src/Zle/zle_tricky.c
parent10f36dd29ba1b22aa69ccc09dc9de84d89830613 (diff)
downloadzsh-bd6baa2ede23c152a9941c3312d93f1f0b1392e8.tar.gz
zsh-bd6baa2ede23c152a9941c3312d93f1f0b1392e8.tar.xz
zsh-bd6baa2ede23c152a9941c3312d93f1f0b1392e8.zip
23172: typo displaying multiline explanation strings
Diffstat (limited to 'Src/Zle/zle_tricky.c')
-rw-r--r--Src/Zle/zle_tricky.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/Zle/zle_tricky.c b/Src/Zle/zle_tricky.c
index 72d72d54f..68e104370 100644
--- a/Src/Zle/zle_tricky.c
+++ b/Src/Zle/zle_tricky.c
@@ -2247,7 +2247,8 @@ printfmt(char *fmt, int n, int dopr, int doesc)
 		}
 		l += 1 + ((cc - 1) / columns);
 		cc = 0;
-		putc('\n', shout);
+		if (dopr)
+		    putc('\n', shout);
 		p++;
 	    } else {
 		convchar_t cchar;