summaryrefslogtreecommitdiff
path: root/windows/kbdneo2/Quelldateien
diff options
context:
space:
mode:
authorPhilip Zander <philip.zander@gmail.com>2019-08-19 23:18:02 +0200
committerqwertfisch <develop-github@qwertfisch.eu>2019-08-21 20:32:13 +0200
commitaaa2c8e2421ff1c8d12e50d3d0816e8b662aafd0 (patch)
tree59c4da0cb3722f77064b9bfba0f04a2fb5cdad24 /windows/kbdneo2/Quelldateien
parent3c19ca30fb4fbcb201366a7e40f107b12c7221a7 (diff)
downloadneo-layout-master.tar.gz
neo-layout-master.tar.bz2
neo-layout-master.zip
Fix off-by-one error in kbdneo2.cHEADmaster
Diffstat (limited to 'windows/kbdneo2/Quelldateien')
-rw-r--r--windows/kbdneo2/Quelldateien/kbdneo2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/windows/kbdneo2/Quelldateien/kbdneo2.c b/windows/kbdneo2/Quelldateien/kbdneo2.c
index aec9667..8792ba8 100644
--- a/windows/kbdneo2/Quelldateien/kbdneo2.c
+++ b/windows/kbdneo2/Quelldateien/kbdneo2.c
@@ -189,7 +189,7 @@ static ALLOC_SECTION_LDATA VK_TO_BIT aVkToBits[] = {
static ALLOC_SECTION_LDATA MODIFIERS CharModifiers = {
&aVkToBits[0],
- 25, //Anzahl der verwendeten Ebenen (inklusive der INVALIDen!)
+ 24, // Maximaler Wert, den die Modifier-Bitmaske annehmen kann
{
// Modifier NEO
// Ebene 0 - nix
@@ -3501,4 +3501,4 @@ static ALLOC_SECTION_LDATA KBDTABLES KbdTables = {
PKBDTABLES KbdLayerDescriptor(VOID)
{
return &KbdTables;
-} \ No newline at end of file
+}