about summary refs log tree commit diff
path: root/Src/text.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2011-01-06 20:28:50 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2011-01-06 20:28:50 +0000
commit020e116c54e61fcd3eea1be5938a6aa03d7c559c (patch)
tree2f0a93d99cc5d16b7490254469813410629ea6b8 /Src/text.c
parent77281a0905099feaab8192c1847d14a82c839f9e (diff)
downloadzsh-020e116c54e61fcd3eea1be5938a6aa03d7c559c.tar.gz
zsh-020e116c54e61fcd3eea1be5938a6aa03d7c559c.tar.xz
zsh-020e116c54e61fcd3eea1be5938a6aa03d7c559c.zip
28588: fix textual display after =~ test
Diffstat (limited to 'Src/text.c')
-rw-r--r--Src/text.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Src/text.c b/Src/text.c
index e6dd8d7ff..749b5d3dc 100644
--- a/Src/text.c
+++ b/Src/text.c
@@ -785,8 +785,7 @@ gettext2(Estate state)
 			    taddstr(" ");
 			    taddstr(ecgetstr(state, EC_NODUP, NULL));
 			    if (ctype == COND_STREQ ||
-				ctype == COND_STRNEQ ||
-				ctype == COND_REGEX)
+				ctype == COND_STRNEQ)
 				state->pc++;
 			} else {
 			    /* Unary test: `-f foo' etc. */