summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--editors/gedit2/files/patch-plugins_spell_gedit-spell-checker.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/editors/gedit2/files/patch-plugins_spell_gedit-spell-checker.c b/editors/gedit2/files/patch-plugins_spell_gedit-spell-checker.c
new file mode 100644
index 000000000..5110fb708
--- /dev/null
+++ b/editors/gedit2/files/patch-plugins_spell_gedit-spell-checker.c
@@ -0,0 +1,13 @@
+--- plugins/spell/gedit-spell-checker.c.orig Wed Dec 1 20:03:36 2004
++++ plugins/spell/gedit-spell-checker.c Wed Dec 1 20:03:59 2004
+@@ -319,9 +319,9 @@
+ static const GeditLanguage*
+ get_language_from_abrev (const gchar *abrev)
+ {
++ const GSList *langs;
+ g_return_val_if_fail (abrev != NULL, NULL);
+
+- const GSList *langs;
+ langs = gedit_spell_checker_get_available_languages ();
+
+ while (langs != NULL)