diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2008-03-15 13:27:17 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2008-03-15 13:27:17 +0000 |
commit | 52053f1717e5a886bdea5dc7c868eb5e02ac3bd7 (patch) | |
tree | 9e4bd7fdc67d919c1f7399644ac3bd5e0035cd75 /src/core/log.c | |
parent | 4b4980badd9fbc887bd6098d0760c4f72a33018d (diff) | |
download | irssi-52053f1717e5a886bdea5dc7c868eb5e02ac3bd7.zip |
Use g_ascii_str{,n}casecmp for case insensitive comparison with
ascii only strings.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4772 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/log.c')
-rw-r--r-- | src/core/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/log.c b/src/core/log.c index fb035c3b..bc0e869f 100644 --- a/src/core/log.c +++ b/src/core/log.c @@ -55,7 +55,7 @@ static int log_item_str2type(const char *type) int n; for (n = 0; log_item_types[n] != NULL; n++) { - if (g_strcasecmp(log_item_types[n], type) == 0) + if (g_ascii_strcasecmp(log_item_types[n], type) == 0) return n; } |