about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Src/text.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ea5ffaf57..115f6c7b1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-02-04  Peter Stephenson  <pws@csr.com>
+
+	* 18188: Src/text.c: make output case statements use balanced
+	parentheses.
+
 2003-02-03  Peter Stephenson  <pws@csr.com>
 
 	* 18175: Completion/Unix/Command/_p4: Completion for Perforce.
diff --git a/Src/text.c b/Src/text.c
index 7405eaec0..794a04df9 100644
--- a/Src/text.c
+++ b/Src/text.c
@@ -521,6 +521,7 @@ gettext2(Estate state)
 			taddnl();
 		    else
 			taddchr(' ');
+		    taddstr("(");
 		    code = *state->pc++;
 		    taddstr(ecgetstr(state, EC_NODUP, NULL));
 		    state->pc++;
@@ -537,6 +538,7 @@ gettext2(Estate state)
 		    taddnl();
 		else
 		    taddchr(' ');
+		taddstr("(");
 		code = *state->pc++;
 		taddstr(ecgetstr(state, EC_NODUP, NULL));
 		state->pc++;