about summary refs log tree commit diff
path: root/Src/text.c
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2015-09-30 20:02:53 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2015-09-30 20:02:53 -0700
commitbc2e73ba4c27a220a6f122cb7b9b5c6fa9996941 (patch)
treeb9c8f26623cc10bec48ece6bc59351ba4065bed6 /Src/text.c
parent2bf4f667fb41a8aba139e3ef93b1ebcd9f3e016d (diff)
downloadzsh-bc2e73ba4c27a220a6f122cb7b9b5c6fa9996941.tar.gz
zsh-bc2e73ba4c27a220a6f122cb7b9b5c6fa9996941.tar.xz
zsh-bc2e73ba4c27a220a6f122cb7b9b5c6fa9996941.zip
users/20672: missing "do" in gettext2() for "select"
Diffstat (limited to 'Src/text.c')
-rw-r--r--Src/text.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Src/text.c b/Src/text.c
index 7e65f43a4..9421d70ce 100644
--- a/Src/text.c
+++ b/Src/text.c
@@ -632,8 +632,10 @@ gettext2(Estate state)
 		    taddstr(" in ");
 		    taddlist(state, *state->pc++);
 		}
-		tindent++;
 		taddnl(0);
+		taddstr("do");
+		taddnl(0);
+		tindent++;
 		tpush(code, 1);
 	    } else {
 		dec_tindent();