[gnome-text-editor] spellcheck: actually return extra word chars



commit caad98982feb8304ff224f692b75ec36744260ff
Author: Christian Hergert <chergert redhat com>
Date:   Sun Jul 18 09:08:37 2021 -0700

    spellcheck: actually return extra word chars

 src/editor-spell-language.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/editor-spell-language.c b/src/editor-spell-language.c
index af5aa60..98902e0 100644
--- a/src/editor-spell-language.c
+++ b/src/editor-spell-language.c
@@ -171,7 +171,7 @@ editor_spell_language_get_extra_word_chars (EditorSpellLanguage *self)
   g_return_val_if_fail (EDITOR_IS_SPELL_LANGUAGE (self), NULL);
 
   if (EDITOR_SPELL_LANGUAGE_GET_CLASS (self)->get_extra_word_chars)
-    EDITOR_SPELL_LANGUAGE_GET_CLASS (self)->get_extra_word_chars (self);
+    return EDITOR_SPELL_LANGUAGE_GET_CLASS (self)->get_extra_word_chars (self);
 
   return "";
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]