diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-21 13:45:04 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-21 13:45:04 +0000 |
commit | 036bd3235d36d7798320947e3f682ca3fc323f4b (patch) | |
tree | 55b2852626815fe3c5ec0faf2d33b3199be428d6 | |
parent | e78cf0fc5c1dd2d9cd4f38fa5284b501006d9fd0 (diff) | |
download | mandoc-036bd3235d36d7798320947e3f682ca3fc323f4b.tar.gz |
Removed `Pa' underline formatting (no groff does this).
-rw-r--r-- | mdoc_term.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/mdoc_term.c b/mdoc_term.c index 08acbf1e..5c5dd54c 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -65,7 +65,7 @@ const int ttypes[TTYPE_NMAX] = { TERMP_UNDER, /* TTYPE_FUNC_ARG */ TERMP_UNDER, /* TTYPE_LINK */ TERMP_BOLD, /* TTYPE_SSECTION */ - TERMP_UNDER, /* TTYPE_FILE */ + 0, /* TTYPE_FILE */ TERMP_UNDER, /* TTYPE_EMPH */ TERMP_BOLD, /* TTYPE_CONFIG */ TERMP_BOLD, /* TTYPE_CMD */ @@ -154,7 +154,6 @@ static int termp_nd_pre(DECL_ARGS); static int termp_nm_pre(DECL_ARGS); static int termp_ns_pre(DECL_ARGS); static int termp_op_pre(DECL_ARGS); -static int termp_pa_pre(DECL_ARGS); static int termp_pf_pre(DECL_ARGS); static int termp_pp_pre(DECL_ARGS); static int termp_pq_pre(DECL_ARGS); @@ -210,7 +209,7 @@ static const struct termact termacts[MDOC_MAX] = { { termp_nm_pre, NULL }, /* Nm */ { termp_op_pre, termp_op_post }, /* Op */ { NULL, NULL }, /* Ot */ - { termp_pa_pre, NULL }, /* Pa */ + { NULL, NULL }, /* Pa */ { termp_rv_pre, NULL }, /* Rv */ { NULL, NULL }, /* St */ { termp_va_pre, NULL }, /* Va */ @@ -1761,16 +1760,6 @@ termp_ss_post(DECL_ARGS) /* ARGSUSED */ static int -termp_pa_pre(DECL_ARGS) -{ - - pair->flag |= ttypes[TTYPE_FILE]; - return(1); -} - - -/* ARGSUSED */ -static int termp_em_pre(DECL_ARGS) { |