diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-12 16:41:33 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-12 16:41:33 +0000 |
commit | c88cf8bbb5543c05396902ef2fca25d27efcec5b (patch) | |
tree | 14da55d4a3efc28803286603ccf6c2a821696336 | |
parent | bda49a7856bd1000a0e330e4a73d8887cdbeacf2 (diff) | |
download | mandoc-c88cf8bbb5543c05396902ef2fca25d27efcec5b.tar.gz |
Check for NAME sanity fixed (last named section -> last section).
-rw-r--r-- | mdoc_validate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c index d39645bf..22e88f04 100644 --- a/mdoc_validate.c +++ b/mdoc_validate.c @@ -1153,7 +1153,7 @@ post_sh_body(POST_ARGS) { struct mdoc_node *n; - if (SEC_NAME != mdoc->lastnamed) + if (SEC_NAME != mdoc->lastsec) return(1); /* |