mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix nit from previous checkin for bug 432389
This commit is contained in:
parent
9c3fdff876
commit
ae5c727a04
@ -4248,19 +4248,19 @@ GetUSLayoutCharFromKeyTranslate(UInt32 aKeyCode, UInt32 aModifiers)
|
||||
|
||||
// normal chars
|
||||
PRUint32 unshiftedChar = GetUniCharFromKeyTranslate(kt, key, lockState);
|
||||
PRUint32 shiftLockMod = shiftKey | lockState;
|
||||
Uint32 shiftLockMod = shiftKey | lockState;
|
||||
PRUint32 shiftedChar = GetUniCharFromKeyTranslate(kt, key, shiftLockMod);
|
||||
|
||||
// characters generated with Cmd key
|
||||
// XXX we should remove CapsLock state, which changes characters from
|
||||
// Latin to Cyrillic with Russian layout on 10.4 only when Cmd key
|
||||
// is pressed.
|
||||
PRUint32 numState = (lockState & ~alphaLock); // only num lock state
|
||||
UInt32 numState = (lockState & ~alphaLock); // only num lock state
|
||||
PRUint32 uncmdedChar = GetUniCharFromKeyTranslate(kt, key, numState);
|
||||
PRUint32 uncmdedUSChar = GetUSLayoutCharFromKeyTranslate(key, numState);
|
||||
PRUint32 cmdNumMod = cmdKey | numState;
|
||||
UInt32 cmdNumMod = cmdKey | numState;
|
||||
PRUint32 cmdedChar = GetUniCharFromKeyTranslate(kt, key, cmdNumMod);
|
||||
PRUint32 cmdShiftNumMod = shiftKey | cmdNumMod;
|
||||
UInt32 cmdShiftNumMod = shiftKey | cmdNumMod;
|
||||
PRUint32 cmdedShiftChar =
|
||||
GetUniCharFromKeyTranslate(kt, key, cmdShiftNumMod);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user