summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/input/inputmanager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input/inputmanager.cpp b/src/input/inputmanager.cpp
index bf4433339..d07522146 100644
--- a/src/input/inputmanager.cpp
+++ b/src/input/inputmanager.cpp
@@ -177,6 +177,8 @@ void InputManager::retrieve() restrict2
i2 ++;
}
}
+ for (; i2 < inputFunctionSize; i2 ++)
+ kf.values[i2] = InputItem();
}
updateKeyString(kf, i);
}