mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Bug 442241 First time using spellchecker will use the first dictionary not locale dictionar r=neil
This commit is contained in:
parent
2fb756543c
commit
b95c4ee869
@ -201,7 +201,7 @@ nsEditorSpellCheck::InitSpellChecker(nsIEditor* aEditor, PRBool aEnableSelection
|
||||
|
||||
if (NS_SUCCEEDED(rv) && packageRegistry) {
|
||||
nsCAutoString utf8DictName;
|
||||
rv = packageRegistry->GetSelectedLocale(NS_LITERAL_CSTRING("editor"),
|
||||
rv = packageRegistry->GetSelectedLocale(NS_LITERAL_CSTRING("global"),
|
||||
utf8DictName);
|
||||
AppendUTF8toUTF16(utf8DictName, dictName);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user