Sophie

Sophie

distrib > Mageia > 7 > armv7hl > by-pkgid > 70c0cd9c0fedf168d23d223201290cab > files > 1

enchant-1.6.1-3.mga7.src.rpm

diff -Naur enchant-1.6.0.orig/src/myspell/myspell_checker.cpp enchant-1.6.0/src/myspell/myspell_checker.cpp
--- enchant-1.6.0.orig/src/myspell/myspell_checker.cpp	2010-04-01 22:53:37.000000000 +0200
+++ enchant-1.6.0/src/myspell/myspell_checker.cpp	2011-12-19 23:07:37.000000000 +0100
@@ -276,6 +276,9 @@
 	dirs = g_slist_append (dirs, g_strdup (ENCHANT_MYSPELL_DICT_DIR));
 #endif
 
+	dirs = g_slist_append (dirs, g_strdup ("/usr/share/myspell"));
+	dirs = g_slist_append (dirs, g_strdup ("/usr/share/dict/ooo"));
+
 #if defined(_WIN32)
 	char* open_office_dicts_dir = myspell_checker_get_open_office_dicts_dir ();
 	if (open_office_dicts_dir)