From 6183e39593805a2e9ba8e4278c41b01d4d7fe107 Mon Sep 17 00:00:00 2001 From: Louis Pearson Date: Fri, 16 Sep 2022 17:42:19 -0600 Subject: [PATCH] mach: add {s} formatter to mouse cursor debug print (#539) * Fix setMouseCursor compile error --- src/platform/native.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/native.zig b/src/platform/native.zig index 0b1b2bb2..32815e8d 100644 --- a/src/platform/native.zig +++ b/src/platform/native.zig @@ -408,7 +408,7 @@ pub const Platform = struct { // TODO: In the future we shouldn't hit this because we'll provide backup // custom cursors. // See https://github.com/hexops/mach/pull/352 for more info - std.log.warn("mach: setMouseCursor: {} not yet supported\n", .{@tagName(cursor)}); + std.log.warn("mach: setMouseCursor: {s} not yet supported\n", .{@tagName(cursor)}); } }