VirtualBox

Ignore:
Timestamp:
Jul 23, 2014 4:26:58 PM (10 years ago)
Author:
vboxsync
Message:

FE/Qt: UIKeyboardHandler: force an index into range.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp

    r52151 r52153  
    10471047        && (   (   UIHostCombo::toKeyCodeList(m_globalSettings.hostCombo()).contains(event.vkCode)
    10481048                && !m_bIsHostkeyInCapture)
    1049             ||    (  m_pressedKeys[event.scanCode]
     1049            ||    (  m_pressedKeys[event.scanCode & 0x7F]
    10501050                   & (IsKbdCaptured | what_pressed))
    10511051               == what_pressed))
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette