From c73ebd9aa108d55a09c7eebbf9a81e3453fa0c3b Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Thu, 26 Apr 2001 13:36:33 +0000 Subject: Add ascii_strcasecmp() and ascii_strncasecmp() functions which do locale-independent and case-insensitive string comparisons. Needed for mutt to work in iso-8859-9 environments, where tolower('I') != 'i'. --- addrbook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addrbook.c') diff --git a/addrbook.c b/addrbook.c index d629b85c..99c973cd 100644 --- a/addrbook.c +++ b/addrbook.c @@ -102,7 +102,7 @@ static int alias_SortAddress (const void *a, const void *b) else if (pb->personal) r = -1; else - r = mutt_strcasecmp (pa->mailbox, pb->mailbox); + r = ascii_strcasecmp (pa->mailbox, pb->mailbox); return (RSORT (r)); } -- cgit v1.2.3