X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/ccdc28b884f5297f967078a51434c264fafd91ae..74accf0fc23a61d1716812e017394125f5257020:/term.c diff --git a/term.c b/term.c index 76fced1e..bc44fc61 100644 --- a/term.c +++ b/term.c @@ -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 * @@ -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); }