void-packages/srcpkgs/pluma/patches/fix-enchant.patch

15 lines
509 B
Diff

diff --git a/plugins/spell/pluma-spell-checker.c b/plugins/spell/pluma-spell-checker.c
index d33bf92..9f2bde3 100644
--- plugins/spell/pluma-spell-checker.c
+++ plugins/spell/pluma-spell-checker.c
@@ -433,7 +433,7 @@ pluma_spell_checker_add_word_to_personal (PlumaSpellChecker *spell,
if (len < 0)
len = strlen (word);
- enchant_dict_add_to_pwl (spell->dict, word, len);
+ enchant_dict_add (spell->dict, word, len);
g_signal_emit (G_OBJECT (spell), signals[ADD_WORD_TO_PERSONAL], 0, word, len);