From 144cab0c3faa2e516016bc1c900ccf2a44e2788f Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Mon, 12 May 2025 08:47:10 +0800 Subject: [PATCH] fix: error cmp for gesturebind judge --- src/config/parse_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/parse_config.h b/src/config/parse_config.h index cd7d822..36d4646 100644 --- a/src/config/parse_config.h +++ b/src/config/parse_config.h @@ -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));