summaryrefslogtreecommitdiff
path: root/src/plugins/charset
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2013-12-21 10:29:32 +0100
committerSebastien Helleu <flashcode@flashtux.org>2013-12-21 10:29:32 +0100
commitc0081e735564c63bf309b253cdb012e63dcb1d67 (patch)
tree00f8051a8789475bb8bf197caaec95bbbdfc52df /src/plugins/charset
parentd7f29995fdb32d5e2747edd60e56397de742b836 (diff)
downloadweechat-c0081e735564c63bf309b253cdb012e63dcb1d67.zip
charset: replace call to strcasecmp by weechat_strcasecmp
This fixes a compilation problem on Illumos.
Diffstat (limited to 'src/plugins/charset')
-rw-r--r--src/plugins/charset/charset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/charset/charset.c b/src/plugins/charset/charset.c
index 44af25d6d..b7fe17c21 100644
--- a/src/plugins/charset/charset.c
+++ b/src/plugins/charset/charset.c
@@ -217,8 +217,8 @@ charset_config_init ()
"internal charset)"),
NULL, 0, 0,
(charset_terminal && charset_internal
- && (strcasecmp (charset_terminal,
- charset_internal) != 0)) ?
+ && (weechat_strcasecmp (charset_terminal,
+ charset_internal) != 0)) ?
charset_terminal : "iso-8859-1", NULL, 0,
&charset_check_charset_decode_cb, NULL, NULL, NULL, NULL, NULL);
charset_default_encode = weechat_config_new_option (