diff options
Diffstat (limited to 'src/roff/troff/input.cpp')
-rw-r--r-- | src/roff/troff/input.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp index f7c01c98..804c2f0b 100644 --- a/src/roff/troff/input.cpp +++ b/src/roff/troff/input.cpp @@ -5185,14 +5185,13 @@ static void encode_char(macro *mac, char c) const char *s = ci->get_symbol()->contents(); if (s[0] != (char)0) { mac->append('\\'); - mac->append('('); + mac->append('['); int i = 0; while (s[i] != (char)0) { mac->append(s[i]); i++; } - mac->append('\\'); - mac->append(')'); + mac->append(']'); } } else if (tok.stretchable_space() |