diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/core-command.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/core/core-command.c b/src/core/core-command.c index 81e38f599..54dd18bb3 100644 --- a/src/core/core-command.c +++ b/src/core/core-command.c @@ -6721,10 +6721,12 @@ COMMAND_CALLBACK(set) &ptr_option, NULL); if (ptr_option) { - command_set_display_option (ptr_option, - (ptr_option_before) ? - _("Option changed: ") : - _("Option created: ")); + command_set_display_option ( + ptr_option, + (ptr_option_before) ? + ((rc == WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE) ? + _("Option unchanged: ") : _("Option changed: ")) : + _("Option created: ")); } break; } |