summaryrefslogtreecommitdiffstats
path: root/mdoc_hash.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-06-16 19:55:28 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-06-16 19:55:28 +0000
commit9926ea89c1f7a785e750b0118b7b4ed73b4fd2d0 (patch)
treedbad9a35492afb007b8ff5e3ad1416ed1e8ed989 /mdoc_hash.c
parenta2605b913e645cce238389093dfa9d10cbcf7236 (diff)
downloadmandoc-9926ea89c1f7a785e750b0118b7b4ed73b4fd2d0.tar.gz
Removed MAN___: moved MAN_br to its index (comments not passed into parser).
Fix: hashtable not fully formed after removal of MDOC___.
Diffstat (limited to 'mdoc_hash.c')
-rw-r--r--mdoc_hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_hash.c b/mdoc_hash.c
index f3539195..e89fb737 100644
--- a/mdoc_hash.c
+++ b/mdoc_hash.c
@@ -46,7 +46,7 @@ mdoc_hash_alloc(void)
if (NULL == htab)
return(NULL);
- for (i = 1; i < MDOC_MAX; i++) {
+ for (i = 0; i < MDOC_MAX; i++) {
major = mdoc_macronames[i][0];
assert((major >= 65 && major <= 90) ||
major == 37);