summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/man_hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mandoc/man_hash.c')
-rw-r--r--usr.bin/mandoc/man_hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/man_hash.c b/usr.bin/mandoc/man_hash.c
index 26ef2d24360..f3e6073e0a2 100644
--- a/usr.bin/mandoc/man_hash.c
+++ b/usr.bin/mandoc/man_hash.c
@@ -1,4 +1,4 @@
-/* $Id: man_hash.c,v 1.2 2009/06/14 23:00:57 schwarze Exp $ */
+/* $Id: man_hash.c,v 1.3 2009/06/18 23:34:53 schwarze 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) ||