]> Kevux Git Server - fll/commitdiff
Bugfix: Properly print program argument in fake_make_operate_process_return().
authorKevin Day <Kevin@kevux.org>
Thu, 1 Oct 2026 03:46:31 +0000 (22:46 -0500)
committerKevin Day <Kevin@kevux.org>
Thu, 1 Oct 2026 03:47:58 +0000 (22:47 -0500)
The print should instead be `%Q` rather than `%s`.
Fix the color context as well.

level_3/fake/c/main/make/print/error.c

index 3d814622078676531e73212afb4c59099426cb7f..63c4683657fa717ff268d7d1f070bf9c4ee970fc 100644 (file)
@@ -299,7 +299,7 @@ extern "C" {
     }
 
     if (program.used) {
-      fl_print_format("for program '%[%s%]%['", print->to, print->notable, program, print->notable, print->context, print->context);
+      fl_print_format("for program '%]%[%Q%]%['", print->to, print->context, print->notable, program, print->notable, print->context);
     }
 
     fl_print_format(".%]%r", print->to, print->context, f_string_eol_s);