1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 22:36:38 +02:00

aspell: fix spellers used when switching buffer

The bug happened when two buffers have different number of dictionaries and start
with same dictionaries. For example buffer #1 with [en,fr] and buffer #2 with [en].
When switching from buffer #1 to buffer #2, aspell does not use only [en], but [en,fr].
This commit is contained in:
Sebastien Helleu
2013-01-11 17:25:53 +01:00
parent db62b272b5
commit a6bc15e69d
+1 -1
View File
@@ -325,7 +325,7 @@ weechat_aspell_spellers_already_ok (const char *dict_list)
}
ptr_speller = ptr_speller->next_speller;
}
if (ptr_speller && ptr_speller->next_speller)
if (ptr_speller)
rc = 0;
weechat_string_free_split (argv);
}