1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-10 11:43:13 +02:00

spell: use "const char *" variables for result of string functions with const parameter

This commit is contained in:
Sébastien Helleu
2026-06-15 07:55:10 +02:00
parent 203fdca3e8
commit 7ff71d2b0e
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -391,7 +391,7 @@ spell_string_is_url (const char *word)
*/
int
spell_string_is_nick (struct t_gui_buffer *buffer, const char *word)
spell_string_is_nick (struct t_gui_buffer *buffer, char *word)
{
char *pos, *pos_nick_completer, *pos_space, saved_char;
const char *buffer_type, *buffer_nick, *buffer_channel;