aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCismonX <admin@cismon.net>2026-08-30 16:03:27 +0000
committerCismonX <admin@cismon.net>2026-08-30 16:03:27 +0000
commit22b995e38162f60bd7f86ef7d29790617a9e1336 (patch)
treec03d3a726c9bb25efb49a4de7185ee6b27ef7335
parentrender: re-evaluate mouse col/row coordinates after a window resize (diff)
config: fix error message for modifiers conflict
The trailing '+' is already removed in modifiers_to_str(). Don't do that twice.
-rw-r--r--config.c3
1 files changed, 0 insertions, 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'",