mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-04 21:18:35 +00:00
Fixed the case less sort key creation problem.
This commit is contained in:
parent
12179cbf41
commit
0fc50f9e21
@ -129,7 +129,7 @@ nsresult nsCollationWin::CreateRawSortKey(const nsCollationStrength strength,
|
||||
}
|
||||
else {
|
||||
char *Cstr = nsnull;
|
||||
res = mCollation->UnicodeToChar(stringIn, &Cstr, mCharset);
|
||||
res = mCollation->UnicodeToChar(stringNormalized, &Cstr, mCharset);
|
||||
if (NS_SUCCEEDED(res) && Cstr != nsnull) {
|
||||
byteLen = LCMapStringA(mLCID, LCMAP_SORTKEY, Cstr, PL_strlen(Cstr), (char *) key, (int) *outLen);
|
||||
PR_Free(Cstr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user