aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/man_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
commit779cfd652ca006f1e2598aba37976bc9e022ac11 (patch)
tree9e664d074f0a23b507be5be82c55686e8dcb83bc /man_hash.c
parenta7f2dc1d0e14e61727a4abdb0250b39e016e0705 (diff)
downloadmandoc-779cfd652ca006f1e2598aba37976bc9e022ac11.tar.gz
mandoc-779cfd652ca006f1e2598aba37976bc9e022ac11.tar.zst
mandoc-779cfd652ca006f1e2598aba37976bc9e022ac11.zip
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 'man_hash.c')
-rw-r--r--man_hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/man_hash.c b/man_hash.c
index 599c9f3f..e89244a9 100644
--- a/man_hash.c
+++ b/man_hash.c
@@ -1,4 +1,4 @@
-/* $Id: man_hash.c,v 1.8 2009/06/10 20:18:43 kristaps Exp $ */
+/* $Id: man_hash.c,v 1.9 2009/06/16 19:55:28 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -41,7 +41,7 @@ man_hash_alloc(void)
if (NULL == htab)
return(NULL);
- for (i = 1; i < MAN_MAX; i++) {
+ for (i = 0; i < MAN_MAX; i++) {
x = man_macronames[i][0];
assert((x >= 65 && x <= 90) ||