diff options
Diffstat (limited to 'keycodes.c')
-rw-r--r-- | keycodes.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -880,8 +880,8 @@ CompileKeycodes(XkbFile * file, XkbFileInfo * result, unsigned merge) XkbAtomGetString(NULL, ii->name), False); if (xkb->indicators != NULL) { - unsigned bit; - bit = 1 << (ii->ndx - 1); + unsigned bit = 1U << (ii->ndx - 1); + if (ii->virtual) xkb->indicators->phys_indicators &= ~bit; else |