From f1e372b5e27bd6f63608d37150550a0b98c63f07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Thu, 6 Jul 2023 22:05:11 +0200 Subject: [PATCH] fset: remove extra spaces between min and max values when second format is used --- ChangeLog.adoc | 1 + src/plugins/fset/fset-config.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog.adoc b/ChangeLog.adoc index 4be62377e..e31a4ad3a 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -28,6 +28,7 @@ Bug fixes:: * core: add key ctrl-backspace in /help key (issue #1975) * core: keep keys ctrl-H and ctrl-? (in lower case) if they were manually bound to custom commands in a previous version * core: fix cursor position after `/plugin list -i` or `/plugin list -il` + * fset: remove extra spaces between min and max values when second format is used * irc: fix display of country code in message 344 received as whois geo info (issue #1736) * script: fix cursor position after `/script list -i` or `/script list -il` * script: fix buffer used by command `/script list -i|-il|-o|-ol` diff --git a/src/plugins/fset/fset-config.c b/src/plugins/fset/fset-config.c index 1086cef2c..b3344cad9 100644 --- a/src/plugins/fset/fset-config.c +++ b/src/plugins/fset/fset-config.c @@ -584,8 +584,8 @@ fset_config_init () NULL, 0, 0, "${marked} ${name} ${type} ${value2}${newline}" " ${empty_name} ${_default_value}${color:244} -- " - "${min}..${max}${newline}" - " ${empty_name} ${description}", + "${_min}..${_max}${newline}" + " ${empty_name} ${_description}", NULL, 0, NULL, NULL, NULL, &fset_config_change_format_cb, NULL, NULL,