diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-09-24 11:05:45 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-09-24 11:05:45 +0000 |
commit | 5827a70535876bf8f6a58191951c114f0c56b47d (patch) | |
tree | c70e07b67ec726e75b3d8f603ce5df539ad5f8a9 /mdoc_term.c | |
parent | e31ba3ca2b454ee69e0708aa1fce28e3c3337584 (diff) | |
download | mandoc-5827a70535876bf8f6a58191951c114f0c56b47d.tar.gz mandoc-5827a70535876bf8f6a58191951c114f0c56b47d.tar.zst mandoc-5827a70535876bf8f6a58191951c114f0c56b47d.zip |
Sync'd example style-sheet to be more like OpenBSD's default (KISS).
-Thtml and -Tascii now have equivalent functionality.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r-- | mdoc_term.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/mdoc_term.c b/mdoc_term.c index 8bc65123..7331d0d9 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.80 2009/09/24 09:50:31 kristaps Exp $ */ +/* $Id: mdoc_term.c,v 1.81 2009/09/24 11:05:45 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -261,8 +261,8 @@ static const struct termact termacts[MDOC_MAX] = { { termp_brq_pre, termp_brq_post }, /* Bro */ { NULL, NULL }, /* Brc */ { NULL, NULL }, /* %C */ - { NULL, NULL }, /* Es */ - { NULL, NULL }, /* En */ + { NULL, NULL }, /* Es */ /* TODO */ + { NULL, NULL }, /* En */ /* TODO */ { termp_xx_pre, NULL }, /* Dx */ { NULL, NULL }, /* %Q */ { termp_sp_pre, NULL }, /* br */ @@ -1417,7 +1417,7 @@ termp_bt_pre(DECL_ARGS) { term_word(p, "is currently in beta test."); - return(1); + return(0); } @@ -1426,7 +1426,8 @@ static void termp_lb_post(DECL_ARGS) { - term_newln(p); + if (SEC_LIBRARY == node->sec) + term_newln(p); } |