summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorwl <wl>2009-12-31 07:49:45 +0000
committerwl <wl>2009-12-31 07:49:45 +0000
commit972c7dbfe69d8befc79cecfb1c8777e653078618 (patch)
tree75787832b8aa015f64c3192aad0a6de72ae2041d /src
parentbe095a293e09eae67254f59ce878b1a36233b447 (diff)
downloadgroff-972c7dbfe69d8befc79cecfb1c8777e653078618.tar.gz
Make patterns with uppercase letters work.
Problem reported by Bjarni Ingi Gislason <bjarniig@rhi.hi.is>. * src/roff/troff/input.cpp (init_hpf_code_table): Use `cmlower'. * doc/groff.texinfo, man/groff_diff.man: Update documentation of `hpfcode' request.
Diffstat (limited to 'src')
-rw-r--r--src/roff/troff/input.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp
index 7c816e83..5335c1ce 100644
--- a/src/roff/troff/input.cpp
+++ b/src/roff/troff/input.cpp
@@ -6602,7 +6602,7 @@ static void init_charset_table()
static void init_hpf_code_table()
{
for (int i = 0; i < 256; i++)
- hpf_code_table[i] = i;
+ hpf_code_table[i] = cmlower(i);
}
static void do_translate(int translate_transparent, int translate_input)