From 38f3b408940ca57f37880450c1044023242324c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 8 Jul 2023 17:14:03 +0200 Subject: fset: add missing format in calls to snprintf --- src/plugins/fset/fset-option.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/fset') diff --git a/src/plugins/fset/fset-option.c b/src/plugins/fset/fset-option.c index 2698a1884..b478569d3 100644 --- a/src/plugins/fset/fset-option.c +++ b/src/plugins/fset/fset-option.c @@ -610,11 +610,11 @@ fset_option_set_values (struct t_fset_option *fset_option, break; case FSET_OPTION_TYPE_STRING: snprintf (str_allowed_values, sizeof (str_allowed_values), - _("any string")); + "%s", _("any string")); break; case FSET_OPTION_TYPE_COLOR: snprintf (str_allowed_values, sizeof (str_allowed_values), - _("any color")); + "%s", _("any color")); break; case FSET_OPTION_TYPE_ENUM: snprintf (str_allowed_values, sizeof (str_allowed_values), -- cgit v1.2.3