зеркало из https://github.com/mozilla/pjs.git
added bool check to make sure the ctrl key was pressed.
b=26400 r=kmcclusk
This commit is contained in:
Родитель
42dc2d0bf9
Коммит
dfa3e0b569
|
@ -2076,7 +2076,7 @@ BOOL nsWindow::OnChar( UINT mbcsCharCode, UINT virtualKeyCode, bool isMultiByte
|
|||
}
|
||||
else
|
||||
{ // 0x20 - SPACE, 0x3D - EQUALS
|
||||
if(virtualKeyCode < 0x20 || virtualKeyCode == 0x3D)
|
||||
if(virtualKeyCode < 0x20 || (virtualKeyCode == 0x3D && mIsControlDown))
|
||||
{
|
||||
uniChar = 0;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче