From 38c3984d10ea0ba0047c71b4032463e15e5f57a4 Mon Sep 17 00:00:00 2001 From: Emanuele Giaquinta Date: Fri, 18 May 2007 09:51:30 +0000 Subject: Fix irc_nickcmp_ascii by mapping only ASCII 65-90 to the corresponding lowercase counterparts. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4496 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/core/irc-nicklist.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/irc/core/irc-nicklist.h b/src/irc/core/irc-nicklist.h index f2813ea1..dd3d3237 100644 --- a/src/irc/core/irc-nicklist.h +++ b/src/irc/core/irc-nicklist.h @@ -16,8 +16,7 @@ int irc_nickcmp_ascii(const char *, const char *); void irc_nicklist_init(void); void irc_nicklist_deinit(void); -/* FIXME: to_rfc1459() is missing things */ #define to_rfc1459(x) ((x) >= 65 && (x) <= 94 ? (x) + 32 : (x)) -#define to_ascii(x) ((x) >= 65 && (x) <= 94 ? (x) + 32 : (x)) +#define to_ascii(x) ((x) >= 65 && (x) <= 90 ? (x) + 32 : (x)) #endif -- cgit v1.2.3