summaryrefslogtreecommitdiffstats
path: root/addrbook.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2001-04-26 13:36:33 +0000
committerThomas Roessler <roessler@does-not-exist.org>2001-04-26 13:36:33 +0000
commitc73ebd9aa108d55a09c7eebbf9a81e3453fa0c3b (patch)
treea35487e7f469b6510dab2172a21c8c7d36265033 /addrbook.c
parent3f16589816ab217ec425ecbf026a9a5ade18333f (diff)
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'.
Diffstat (limited to 'addrbook.c')
-rw-r--r--addrbook.c2
1 files changed, 1 insertions, 1 deletions
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));
}