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:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user