summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMitchell Hashimoto <m@mitchellh.com>2025-10-03 07:33:37 -0700
committerMitchell Hashimoto <m@mitchellh.com>2025-10-03 07:33:58 -0700
commit1c1a56394d50575f29e724ffc56189b17251f2fc (patch)
tree3b14f59c1d38299ab34657e74cf0b47d75c7497b /src
parent4d9718664327b74e6ad29f413739081bf2f1e4a8 (diff)
apprt/gtk: Zig 0.15 whack a mole
Diffstat (limited to 'src')
-rw-r--r--src/apprt/gtk/class/surface.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/apprt/gtk/class/surface.zig b/src/apprt/gtk/class/surface.zig
index 0e0334ecf..cc8359b7e 100644
--- a/src/apprt/gtk/class/surface.zig
+++ b/src/apprt/gtk/class/surface.zig
@@ -852,13 +852,13 @@ pub const Surface = extern struct {
const body = body: {
const exit_code = value.exit_code orelse break :body std.fmt.allocPrintSentinel(
alloc,
- "Command took {}.",
+ "Command took {f}.",
.{value.duration.round(std.time.ns_per_ms)},
0,
) catch break :notify;
break :body std.fmt.allocPrintSentinel(
alloc,
- "Command took {} and exited with code {d}.",
+ "Command took {f} and exited with code {d}.",
.{ value.duration.round(std.time.ns_per_ms), exit_code },
0,
) catch break :notify;