summaryrefslogtreecommitdiffstats
path: root/man_macro.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2013-09-15 18:26:46 +0000
committerIngo Schwarze <schwarze@openbsd.org>2013-09-15 18:26:46 +0000
commit8e08c89dd46d82aaf2e087ce16eca0e73c414481 (patch)
tree77127ee97b2896b3c6d126cada6ce8e6c2a992a6 /man_macro.c
parent54aca1486c2520e1551a4830dcda4044a7b61228 (diff)
downloadmandoc-8e08c89dd46d82aaf2e087ce16eca0e73c414481.tar.gz
Block closing macros do not allocate a new node but finish an existing
one, so they miss the clearing of MDOC_NEWLINE in mdoc.c, node_alloc(). Consequently, MDOC_NEWLINE must be cleared before processing the next macro on the same line. This fixes horizontal spacing for input lines beginning like .Oc Ns ... Issue found by Franco Fichtner <franco at lastsummer dot de> while working on DragonFly mandoc integration.
Diffstat (limited to 'man_macro.c')
0 files changed, 0 insertions, 0 deletions