1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-27 13:26:38 +02:00

charset: replace call to strcasecmp by weechat_strcasecmp

This fixes a compilation problem on Illumos.
This commit is contained in:
Sebastien Helleu
2013-12-21 10:29:32 +01:00
parent d7f29995fd
commit c0081e7355
+2 -2
View File
@@ -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 (