summaryrefslogtreecommitdiffstats
path: root/term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-05 13:12:12 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-05 13:12:12 +0000
commitc1fd7f502ac50e13a6185e829bdbd03b7d0a931c (patch)
treefd39f0c38c00a28528f560159ac5f5d2f9542128 /term.c
parent6936c4e5a0bd4bddcfd7c9d08d801aba0415dbad (diff)
downloadmandoc-c1fd7f502ac50e13a6185e829bdbd03b7d0a931c.tar.gz
Cleaned up ctype functions (netbsd).
Fixed .Ex/.Rv -std usage. Made Ar provide default value.
Diffstat (limited to 'term.c')
-rw-r--r--term.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/term.c b/term.c
index 6a5c8c19..403b9bb0 100644
--- a/term.c
+++ b/term.c
@@ -295,7 +295,7 @@ arg_width(const struct mdoc_arg *arg)
assert(len > 0);
for (i = 0; i < len - 1; i++)
- if ( ! isdigit((int)(*arg->value)[i]))
+ if ( ! isdigit((u_char)(*arg->value)[i]))
break;
if (i == len - 1) {
@@ -693,10 +693,6 @@ termp_ar_pre(DECL_ARGS)
{
TERMPAIR_SETFLAG(p, pair, ttypes[TTYPE_CMD_ARG]);
- if (NULL == node->child) {
- word(p, "file");
- word(p, "...");
- }
return(1);
}