1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 16:23:14 +02:00

core: make case insensitive comparison with a lower case string (issue #1872)

This is faster because with case insensitive comparison, the chars are
converted to lower case anyway before being compared.
This commit is contained in:
Sébastien Helleu
2023-01-15 11:26:24 +01:00
parent f0415c8ec3
commit 498ee539ea
+1 -1
View File
@@ -44,7 +44,7 @@ int local_utf8 = 0;
void
utf8_init ()
{
local_utf8 = (string_strcasecmp (weechat_local_charset, "UTF-8") == 0);
local_utf8 = (string_strcasecmp (weechat_local_charset, "utf-8") == 0);
}
/*