summaryrefslogtreecommitdiffstats
path: root/mdoc_action.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-12 08:41:17 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-12 08:41:17 +0000
commit2e08684b6f7079837888e14e0a2129df281b31e8 (patch)
tree1114a34b670fa4462fe646d8deae3992e3d3eb70 /mdoc_action.c
parent1caded1c8245d6b49a1f14453cd477f5c5920a15 (diff)
downloadmandoc-2e08684b6f7079837888e14e0a2129df281b31e8.tar.gz
mdoc_atosec -> mdoc_str2sec (consistent with str2 being different from a2).
Changed ordering of sections (EXIT STATUS moved around), argued for by Ulrich Sporlein. Fixed mdoc_str2sec not to use weird structure.
Diffstat (limited to 'mdoc_action.c')
-rw-r--r--mdoc_action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_action.c b/mdoc_action.c
index 63e25cd8..0883f7f1 100644
--- a/mdoc_action.c
+++ b/mdoc_action.c
@@ -419,7 +419,7 @@ post_sh(POST_ARGS)
if ( ! concat(m, buf, n->child, BUFSIZ))
return(0);
- sec = mdoc_atosec(buf);
+ sec = mdoc_str2sec(buf);
/*
* The first section should always make us move into a non-new
* state.