mach: add {s} formatter to mouse cursor debug print (#539)

* Fix setMouseCursor compile error
This commit is contained in:
Louis Pearson 2022-09-16 17:42:19 -06:00 committed by GitHub
parent 7ed8829349
commit 6183e39593
Failed to generate hash of commit

View file

@ -408,7 +408,7 @@ pub const Platform = struct {
// TODO: In the future we shouldn't hit this because we'll provide backup // TODO: In the future we shouldn't hit this because we'll provide backup
// custom cursors. // custom cursors.
// See https://github.com/hexops/mach/pull/352 for more info // 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)});
} }
} }