From 8cbcf56b6dbe9eba7aeee65bbf6af74edcf8c1e6 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 11 Jul 2012 16:57:43 +0000 Subject: fix position and formatting of %U; OpenBSD rev. 1.104 and 1.145, respectively --- mdoc_term.c | 2 +- mdoc_validate.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mdoc_term.c b/mdoc_term.c index af390e36..4f5b0ae1 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -242,7 +242,7 @@ static const struct termact termacts[MDOC_MAX] = { { NULL, termp____post }, /* %Q */ { termp_sp_pre, NULL }, /* br */ { termp_sp_pre, NULL }, /* sp */ - { termp_under_pre, termp____post }, /* %U */ + { NULL, termp____post }, /* %U */ { NULL, NULL }, /* Ta */ }; diff --git a/mdoc_validate.c b/mdoc_validate.c index b8c4c0f8..49d6f780 100644 --- a/mdoc_validate.c +++ b/mdoc_validate.c @@ -314,12 +314,12 @@ static const enum mdoct rsord[RSORD_MAX] = { MDOC__R, MDOC__N, MDOC__V, + MDOC__U, MDOC__P, MDOC__Q, MDOC__D, MDOC__O, - MDOC__C, - MDOC__U + MDOC__C }; static const char * const secnames[SEC__MAX] = { -- cgit