diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/spell/spell.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/spell/spell.c b/src/plugins/spell/spell.c index 8244d003e..b664aa8ed 100644 --- a/src/plugins/spell/spell.c +++ b/src/plugins/spell/spell.c @@ -379,8 +379,10 @@ spell_string_is_url (const char *word) for (i = 0; spell_url_prefix[i]; i++) { if (weechat_strncasecmp (word, spell_url_prefix[i], - strlen (spell_url_prefix[i])) == 0) + weechat_utf8_strlen (spell_url_prefix[i])) == 0) + { return 1; + } } /* word is not an URL */ |