fix: error cmp for gesturebind judge

This commit is contained in:
DreamMaoMao 2025-05-12 08:47:10 +08:00
parent bc4f598259
commit 144cab0c3f

View file

@ -1354,7 +1354,7 @@ if (parsed == 8) {
config->axis_bindings_count++;
}
} else if (strncmp(key, "gesturebind", 8) == 0) {
} else if (strncmp(key, "gesturebind", 11) == 0) {
config->gesture_bindings =
realloc(config->gesture_bindings,
(config->gesture_bindings_count + 1) * sizeof(GestureBinding));