6e95e654f9
Mozilla Thunderbird is a redesign of the Mozilla mail component. The goal is to produce a cross platform stand alone mail application using the XUL user interface language. This version tracks 31 ESR.
17 lines
694 B
C++
17 lines
694 B
C++
$NetBSD: patch-mozilla_extensions_spellcheck_hunspell_src_mozHunspell.cpp,v 1.1 2015/07/13 17:49:26 ryoon Exp $
|
|
|
|
--- mozilla/extensions/spellcheck/hunspell/src/mozHunspell.cpp.orig 2013-10-23 22:08:56.000000000 +0000
|
|
+++ mozilla/extensions/spellcheck/hunspell/src/mozHunspell.cpp
|
|
@@ -417,6 +417,12 @@ mozHunspell::LoadDictionaryList()
|
|
}
|
|
}
|
|
|
|
+ // load system hunspell dictionaries
|
|
+ nsIFile* hunDir;
|
|
+ NS_NewNativeLocalFile(NS_LITERAL_CSTRING("@PREFIX@/share/hunspell"),
|
|
+ true, &hunDir);
|
|
+ LoadDictionariesFromDir(hunDir);
|
|
+
|
|
// find dictionaries from extensions requiring restart
|
|
nsCOMPtr<nsISimpleEnumerator> dictDirs;
|
|
rv = dirSvc->Get(DICTIONARY_SEARCH_DIRECTORY_LIST,
|