summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdoc_validate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c
index 35264a13..2e3d0066 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -1989,7 +1989,8 @@ post_sh_see_also(POST_ARGS)
mdoc->parse, n->line, n->pos,
"%s(%s) after %s(%s)", name,
sec, lastname, lastsec);
- else if (cmp == 0 && strcmp(lastname, name) > 0)
+ else if (cmp == 0 &&
+ strcasecmp(lastname, name) > 0)
mandoc_vmsg(MANDOCERR_XR_ORDER,
mdoc->parse, n->line, n->pos,
"%s after %s", name, lastname);