aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/man_hash.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-26 09:55:39 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-26 09:55:39 +0000
commit48c75ac0d363231aad256b8377a73bc1f8d158d5 (patch)
tree92966078d91ba12155f189f933548b38f9d08349 /man_hash.c
parentef64725c09db0346dd0d5a32ae063e383d216b33 (diff)
downloadmandoc-48c75ac0d363231aad256b8377a73bc1f8d158d5.tar.gz
mandoc-48c75ac0d363231aad256b8377a73bc1f8d158d5.tar.zst
mandoc-48c75ac0d363231aad256b8377a73bc1f8d158d5.zip
Fixed reading whitespace for man.7 `. TH'.
Documented this.
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 de4546f5..bfa6ec77 100644
--- a/man_hash.c
+++ b/man_hash.c
@@ -1,4 +1,4 @@
-/* $Id: man_hash.c,v 1.2 2009/03/23 15:41:09 kristaps Exp $ */
+/* $Id: man_hash.c,v 1.3 2009/03/26 09:55:39 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@openbsd.org>
*
@@ -52,7 +52,7 @@ man_hash_find(const void *arg, const char *tmp)
/* TODO */
for (i = 0; i < MAN_MAX; i++)
- if (0 == strcasecmp(tmp, man_macronames[i]))
+ if (0 == strcmp(tmp, man_macronames[i]))
return(i);
return(MAN_MAX);