mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
79fd5d2214
Changes: https://www.mozilla.org/thunderbird/45.0/releasenotes/ Security: 92d44f83-a7bf-41cf-91ee-3d1b8ecf579f MFH: 2016Q2
18 lines
626 B
Plaintext
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,
|