- Add ctrl support to (most) keyboard layouts. Only tested for kbdus, added
[reactos.git] / reactos / subsys / win32k / ntuser / keyboard.c
index 431a49c..4b84525 100644 (file)
@@ -261,7 +261,7 @@ static BOOL TryToTranslateChar(WORD wVirtKey,
                       [ModBits ^
                        ((CapsState & CAPITAL_BIT) ? vkPtr->Attributes : 0)];
 
-            if( CapsMod > keyLayout->pVkToWcharTable[nMod].nModifications )
+            if( CapsMod >= keyLayout->pVkToWcharTable[nMod].nModifications )
             {
                DWORD MaxBit = 1;
                while( MaxBit <