mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 20:01:50 +00:00
Bug #253054 --> Editor should use a chrome package known to exist (like itself) instead of
using "navigator" as the chrome package for asking the locale. Fixes problems with the spell checker not working for new thunderbird profiles where there is no navigator package. r=brade
This commit is contained in:
parent
f38d27c31d
commit
304c1345d0
@ -178,7 +178,7 @@ nsEditorSpellCheck::InitSpellChecker(nsIEditor* aEditor, PRBool aEnableSelection
|
||||
|
||||
if (NS_SUCCEEDED(rv) && packageRegistry) {
|
||||
nsCAutoString utf8DictName;
|
||||
rv = packageRegistry->GetSelectedLocale(NS_LITERAL_CSTRING("navigator"),
|
||||
rv = packageRegistry->GetSelectedLocale(NS_LITERAL_CSTRING("editor"),
|
||||
utf8DictName);
|
||||
CopyUTF8toUTF16(utf8DictName, dictName);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user