mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-13 18:27:35 +00:00
Bug fix, changed NSILOCALE_TIME to NSILOCALE_COLLATE.
This commit is contained in:
parent
ddac84c38b
commit
ba33763afb
@ -55,7 +55,7 @@ nsresult nsCollationWin::Initialize(nsILocale* locale)
|
||||
mLCID = 1033; // initialize to en-US
|
||||
if (locale != nsnull) {
|
||||
nsString aLocale;
|
||||
nsString aCategory("NSILOCALE_TIME");
|
||||
nsString aCategory("NSILOCALE_COLLATE");
|
||||
nsresult res = locale->GetCatagory(&aCategory, &aLocale);
|
||||
if (NS_FAILED(res)) {
|
||||
return res;
|
||||
|
Loading…
Reference in New Issue
Block a user