aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit9f11efb0307eb4c4dbb4a8fff243321100e27573 (patch)
tree1eec3760c1790106496b536cde695f4912d0278e /mdoc_action.c
parentbc0b057e87136f91e81cd2c0f344327dabd21c7f (diff)
downloadmandoc-9f11efb0307eb4c4dbb4a8fff243321100e27573.tar.gz
mandoc-9f11efb0307eb4c4dbb4a8fff243321100e27573.tar.zst
mandoc-9f11efb0307eb4c4dbb4a8fff243321100e27573.zip
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_action.c b/mdoc_action.c
index b9b95f99..f84542d4 100644
--- a/mdoc_action.c
+++ b/mdoc_action.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_action.c,v 1.54 2010/05/08 07:30:19 kristaps Exp $ */
+/* $Id: mdoc_action.c,v 1.55 2010/05/12 08:41:17 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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.