From 22b995e38162f60bd7f86ef7d29790617a9e1336 Mon Sep 17 00:00:00 2001 From: CismonX Date: Mon, 31 Aug 2026 00:03:27 +0800 Subject: config: fix error message for modifiers conflict The trailing '+' is already removed in modifiers_to_str(). Don't do that twice. --- config.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/config.c b/config.c index 69968c4a..ed248d91 100644 --- a/config.c +++ b/config.c @@ -2650,9 +2650,6 @@ resolve_key_binding_collisions(struct config *conf, const char *section_name, char *override_names = modifiers_to_str( &conf->mouse.selection_override_modifiers, true); - if (override_names[0] != '\0') - override_names[strlen(override_names) - 1] = '\0'; - LOG_AND_NOTIFY_ERR( "%s:%d: [%s].%s: %s%s: " "modifiers conflict with 'selection-override-modifiers=%s'", -- cgit v1.3