X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/f8c13585c4ceea7a65649abe168543f2070220dc..5e21bb33df24e242095453a08d9202eec3616268:/mdoc_hash.c diff --git a/mdoc_hash.c b/mdoc_hash.c index 9755e333..013856bf 100644 --- a/mdoc_hash.c +++ b/mdoc_hash.c @@ -1,6 +1,6 @@ -/* $Id: mdoc_hash.c,v 1.3 2009/04/12 19:45:26 kristaps Exp $ */ +/* $Id: mdoc_hash.c,v 1.5 2009/06/16 19:55:28 kristaps Exp $ */ /* - * Copyright (c) 2008, 2009 Kristaps Dzonsons + * Copyright (c) 2008, 2009 Kristaps Dzonsons * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -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);