зеркало из https://github.com/mozilla/gecko-dev.git
Bug 298549 - nsBidiKeyboard.cpp breaks gcc 4 builds. patch from Mark Mentovai <mark@moxienet.com>, r=me, sr=smfr, a=mkaply.
This commit is contained in:
Родитель
f79316fc57
Коммит
82eeff1d45
|
@ -57,11 +57,11 @@ NS_IMETHODIMP nsBidiKeyboard::IsLangRTL(PRBool *aIsRTL)
|
|||
|
||||
OSStatus err;
|
||||
KeyboardLayoutRef currentKeyboard;
|
||||
void* currentKeyboardResID;
|
||||
|
||||
err = ::KLGetCurrentKeyboardLayout(¤tKeyboard);
|
||||
if (err == noErr)
|
||||
{
|
||||
const void* currentKeyboardResID;
|
||||
err = ::KLGetKeyboardLayoutProperty(currentKeyboard, kKLIdentifier,
|
||||
¤tKeyboardResID);
|
||||
if (err == noErr)
|
||||
|
|
Загрузка…
Ссылка в новой задаче