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