зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1130935 - mingw fixup.
This commit is contained in:
Родитель
c18b147cf7
Коммит
1aa29b4cf1
|
@ -249,7 +249,7 @@ nsIMM32Handler::InitKeyboardLayout(nsWindow* aWindow,
|
|||
// Add room for the terminating null character
|
||||
sIMEName.SetLength(++IMENameLength);
|
||||
IMENameLength =
|
||||
::ImmGetDescriptionW(aKeyboardLayout, sIMEName.BeginWriting(),
|
||||
::ImmGetDescriptionW(aKeyboardLayout, wwc(sIMEName.BeginWriting()),
|
||||
IMENameLength);
|
||||
// Adjust the length to ignore the terminating null character
|
||||
sIMEName.SetLength(IMENameLength);
|
||||
|
|
Загрузка…
Ссылка в новой задаче