summaryrefslogtreecommitdiffstats
path: root/apropos.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-12-07 16:08:55 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-12-07 16:08:55 +0000
commitf571e3813bff77e7998070e36b0d639923e7571d (patch)
treedde929d78653bfeb2d3bd9627a15db405330f75a /apropos.c
parent910ad63849bea2b09b02b8fd7dbf18f78869967c (diff)
downloadmandoc-f571e3813bff77e7998070e36b0d639923e7571d.tar.gz
Apropos and man.cgi should strcasecmp their output sorting.
man.cgi should sort in the first place -- it wasn't before. Revert uppercasing of man.cgi title.
Diffstat (limited to 'apropos.c')
-rw-r--r--apropos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apropos.c b/apropos.c
index 939fbce0..4a5bbd0d 100644
--- a/apropos.c
+++ b/apropos.c
@@ -133,7 +133,7 @@ static int
cmp(const void *p1, const void *p2)
{
- return(strcmp(((const struct res *)p1)->title,
+ return(strcasecmp(((const struct res *)p1)->title,
((const struct res *)p2)->title));
}