]> Kevux Git Server - fll/commitdiff
Bugfix: Incorrect error message describing wrong value number.
authorKevin Day <Kevin@kevux.org>
Wed, 3 Jul 2024 04:51:24 +0000 (23:51 -0500)
committerKevin Day <Kevin@kevux.org>
Wed, 3 Jul 2024 04:51:24 +0000 (23:51 -0500)
level_3/controller/c/rule/private-rule.c

index e2162c32c24b424919297829ce97b43daffecd6b..afc58253d392f75328dac65cd804b47d5f6be52f 100644 (file)
@@ -5505,7 +5505,7 @@ extern "C" {
 
           controller_lock_print(global.main->error.to, global.thread);
 
-          fl_print_format("%r%[%QRule setting's second value has '%]", global.main->error.to.stream, f_string_eol_s, global.main->error.context, global.main->error.prefix, global.main->error.context);
+          fl_print_format("%r%[%QRule setting's first value has '%]", global.main->error.to.stream, f_string_eol_s, global.main->error.context, global.main->error.prefix, global.main->error.context);
           fl_print_format("%[%/Q%]", global.main->error.to.stream, global.main->error.notable, cache->buffer_item, cache->content_actions.array[i].array[1], global.main->error.notable);
           fl_print_format("%[' but only supports %r, %r, %r, %r, %r", global.main->error.to.stream, global.main->error.context, controller_freeze_s, controller_kill_s, controller_pause_s, controller_reload_s, controller_restart_s);
           fl_print_format("%r, %r, %r, and %r.%]%r", global.main->error.to.stream, controller_resume_s, controller_start_s, controller_stop_s, controller_thaw_s, global.main->error.context, f_string_eol_s);