VirtualBox

Ignore:
Timestamp:
Feb 25, 2015 9:08:53 AM (10 years ago)
Author:
vboxsync
Message:

FE/Qt: mis-types in X11 keyboard handling code.

File:
1 edited

Legend:

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

    r54095 r54473  
    624624
    625625            /* Scancodes 0x00 (no valid translation) and 0x80 are ignored: */
    626             if (!scan & 0x7F)
     626            if (!(scan & 0x7F))
    627627            {
    628628                fResult = true;
     
    16031603        KeySym ks = wrapXkbKeycodeToKeysym(pDisplay, keyCode, i, 0);
    16041604        char symbol = 0;
    1605         if (!XkbTranslateKeySym(pDisplay, &ks, 0, &symbol, 1, NULL) == 1)
     1605        if (XkbTranslateKeySym(pDisplay, &ks, 0, &symbol, 1, NULL) == 0)
    16061606            symbol = 0;
    16071607        if (symbol)
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