1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 16:23:14 +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
+2 -1
View File
@@ -140,7 +140,8 @@ void
spell_command_speller_list_dicts (void)
{
#ifndef USE_ENCHANT
char *country, *lang, *pos, *iso;
const char *pos;
char *country, *lang, *iso;
char str_dict[256], str_country[128];
struct AspellConfig *config;
AspellDictInfoList *list;