1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

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
This commit is contained in:
Emanuele Giaquinta 2007-05-18 09:51:30 +00:00 committed by exg
parent 0e4fc15add
commit 38c3984d10

View File

@ -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