diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-07-08 17:14:03 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-07-08 17:14:03 +0200 |
commit | 38f3b408940ca57f37880450c1044023242324c0 (patch) | |
tree | 64ae772c87df295442ba2a73fd54c407cb39d4fb /src/plugins/fset | |
parent | 3070c12fa388f238edab7677f401bb2761002fbb (diff) | |
download | weechat-38f3b408940ca57f37880450c1044023242324c0.zip |
fset: add missing format in calls to snprintf
Diffstat (limited to 'src/plugins/fset')
-rw-r--r-- | src/plugins/fset/fset-option.c | 4 |
1 files changed, 2 insertions, 2 deletions
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), |