diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-04-02 06:51:44 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-04-02 06:51:44 +0000 |
commit | f8fe5d9a147b378ab9cd53f2287730070ded22c2 (patch) | |
tree | ac8804842dcd211cf3ee64177bff113640075a2c /mdoc_action.c | |
parent | 4cd2606cca8b6f78a9d90bec6f4fa0c45c2dcd0f (diff) | |
download | mandoc-f8fe5d9a147b378ab9cd53f2287730070ded22c2.tar.gz mandoc-f8fe5d9a147b378ab9cd53f2287730070ded22c2.tar.zst mandoc-f8fe5d9a147b378ab9cd53f2287730070ded22c2.zip |
mdoc_tokhash -> hash
Initial man hashtab (BROKEN).
Diffstat (limited to 'mdoc_action.c')
-rw-r--r-- | mdoc_action.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_action.c b/mdoc_action.c index 72f7bc4f..cd423964 100644 --- a/mdoc_action.c +++ b/mdoc_action.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_action.c,v 1.2 2009/03/31 13:50:19 kristaps Exp $ */ +/* $Id: mdoc_action.c,v 1.3 2009/04/02 06:51:44 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@openbsd.org> * @@ -609,7 +609,7 @@ post_bl_width(struct mdoc *m) if (0 == strcmp(p, "Ds")) width = 8; - else if (MDOC_MAX == (tok = mdoc_tokhash_find(m->htab, p))) + else if (MDOC_MAX == (tok = mdoc_hash_find(m->htab, p))) return(1); else if (0 == (width = mdoc_macro2len(tok))) return(vwarn(m, WNOWIDTH)); |