aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/troff
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-11-01 15:01:00 +0000
committerrsc <devnull@localhost>2005-11-01 15:01:00 +0000
commit604ad4d8ff971314f37440963f4ad8e6ea79aacc (patch)
tree7d67c42a813cf686592836819bfdd50933e6a0f3 /src/cmd/troff
parent24d56929770f47314bfbebed9325dd5bcdaa8771 (diff)
downloadplan9port-604ad4d8ff971314f37440963f4ad8e6ea79aacc.tar.gz
plan9port-604ad4d8ff971314f37440963f4ad8e6ea79aacc.tar.bz2
plan9port-604ad4d8ff971314f37440963f4ad8e6ea79aacc.zip
isdigit (Tom Miller)
Diffstat (limited to 'src/cmd/troff')
-rw-r--r--src/cmd/troff/n10.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/troff/n10.c b/src/cmd/troff/n10.c
index eaa5a57a..b6be4c51 100644
--- a/src/cmd/troff/n10.c
+++ b/src/cmd/troff/n10.c
@@ -52,7 +52,7 @@ static char *parse(char *s, int typeit) /* convert \0, etc to nroff driving tabl
if (isdigit((uchar)s[0]) && isdigit((uchar)s[1]) && isdigit((uchar)s[2])) {
*t++ = (s[0]-'0')<<6 | (s[1]-'0')<<3 | s[2]-'0';
s += 2;
- } else if (isdigit(s[0])) {
+ } else if (isdigit((uchar)s[0])) {
*t++ = *s - '0';
} else if (*s == 'b') {
*t++ = '\b';