mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
4dfb37ee97
Changes: https://www.mozilla.org/firefox/46.0/releasenotes/ Changes: https://www.mozilla.org/firefox/45.1.0/releasenotes/ Security: 92d44f83-a7bf-41cf-91ee-3d1b8ecf579f MFH: 2016Q2
18 lines
610 B
Plaintext
18 lines
610 B
Plaintext
--- extensions/spellcheck/hunspell/glue/mozHunspell.cpp~
|
|
+++ 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,
|