]> Kevux Git Server - fll/commitdiff
Cleanup: Remove quotes from number on printing.
authorKevin Day <thekevinday@gmail.com>
Sat, 2 Oct 2021 03:34:49 +0000 (22:34 -0500)
committerKevin Day <thekevinday@gmail.com>
Sat, 2 Oct 2021 03:34:49 +0000 (22:34 -0500)
The practice that I am starting to follow when printing is to quote text but not to quote numbers.

level_3/controller/c/private-rule.c

index 61eab06bce22e189ce27a3b15c93773aea132d24..c62cd91a51567e5cca28108f5389abae6cdfe4e4 100644 (file)
@@ -756,9 +756,9 @@ extern "C" {
         fl_print_format("%['.%]%c", print.to.stream, print.context, print.context, f_string_eol_s[0]);
       }
       else if (code) {
-        fl_print_format("%[' failed with the exit code '%]", print.to.stream, print.context, print.context);
+        fl_print_format("%[' failed with the exit code %]", print.to.stream, print.context, print.context);
         fl_print_format("%[%i%]", print.to.stream, print.notable, code, print.notable);
-        fl_print_format("%['.%]%c", print.to.stream, print.context, print.context, f_string_eol_s[0]);
+        fl_print_format("%[.%]%c", print.to.stream, print.context, print.context, f_string_eol_s[0]);
       }
       else {
         fl_print_format("%[' failed.%]%c", print.to.stream, print.context, print.context, f_string_eol_s[0]);