mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 1102297 - mingw wchar_t/char16_t mismatch fixup.
This commit is contained in:
parent
f567706ef1
commit
bfc4c320ec
@ -823,7 +823,7 @@ GfxInfo::GetCountryCode()
|
||||
}
|
||||
// Now get the string for real
|
||||
mCountryCode.SetLength(numChars);
|
||||
numChars = GetGeoInfoW(geoid, GEO_ISO2, mCountryCode.BeginWriting(),
|
||||
numChars = GetGeoInfoW(geoid, GEO_ISO2, wwc(mCountryCode.BeginWriting()),
|
||||
mCountryCode.Length(), 0);
|
||||
if (numChars) {
|
||||
// numChars includes null terminator
|
||||
|
Loading…
Reference in New Issue
Block a user