Bug fix, changed NSILOCALE_TIME to NSILOCALE_COLLATE.

This commit is contained in:
nhotta%netscape.com 1999-02-16 19:09:15 +00:00
parent ddac84c38b
commit ba33763afb

View File

@ -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;