diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-05 13:12:12 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-05 13:12:12 +0000 |
commit | 74accf0fc23a61d1716812e017394125f5257020 (patch) | |
tree | 78d7edfbcd8c74701fc68788b3b58538353c90c8 /term.c | |
parent | 6f9d9cf4d38fa9a821a61f50e3ee7caa2306cdb5 (diff) | |
download | mandoc-74accf0fc23a61d1716812e017394125f5257020.tar.gz mandoc-74accf0fc23a61d1716812e017394125f5257020.tar.zst mandoc-74accf0fc23a61d1716812e017394125f5257020.zip |
Cleaned up ctype functions (netbsd).
Fixed .Ex/.Rv -std usage.
Made Ar provide default value.
Diffstat (limited to 'term.c')
-rw-r--r-- | term.c | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -1,4 +1,4 @@ -/* $Id: term.c,v 1.41 2009/03/04 14:41:40 kristaps Exp $ */ +/* $Id: term.c,v 1.42 2009/03/05 13:12:12 kristaps Exp $ */ /* * Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -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); } |