1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/mail/thunderbird/files/patch-bug991253
Jan Beich 79fd5d2214 mail/thunderbird: update to 45.0 (rc1)
Changes:	https://www.mozilla.org/thunderbird/45.0/releasenotes/
Security:	92d44f83-a7bf-41cf-91ee-3d1b8ecf579f
MFH:		2016Q2
2016-04-12 19:18:55 +00:00

18 lines
626 B
Plaintext

--- mozilla/extensions/spellcheck/hunspell/glue/mozHunspell.cpp~
+++ mozilla/extensions/spellcheck/hunspell/glue/mozHunspell.cpp
@@ -392,6 +392,14 @@ mozHunspell::LoadDictionaryList(bool aNo
}
}
+ // load system hunspell dictionaries
+ nsCOMPtr<nsIFile> hunDir;
+ NS_NewNativeLocalFile(NS_LITERAL_CSTRING("%%LOCALBASE%%/share/hunspell"),
+ true, getter_AddRefs(hunDir));
+ if (hunDir) {
+ LoadDictionariesFromDir(hunDir);
+ }
+
// find dictionaries from extensions requiring restart
nsCOMPtr<nsISimpleEnumerator> dictDirs;
rv = dirSvc->Get(DICTIONARY_SEARCH_DIRECTORY_LIST,