From b642369b56dc44cd97fdc1fcd9e546eb49dd137a Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Fri, 6 Sep 2024 20:28:31 -0500 Subject: [PATCH] fix boolean --- src/main.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.zig b/src/main.zig index 9f8164f..0cd9832 100644 --- a/src/main.zig +++ b/src/main.zig @@ -259,7 +259,7 @@ pub fn main() !void { } }); } - if (random.bool()) { + if (random.boolean()) { for (0..random.int(u5)) |_| { try osc_writer.writeByte(byte: { while (true) { @@ -270,7 +270,7 @@ pub fn main() !void { } } } - if (random.bool()) try osc_writer.writeByte(';'); + if (random.boolean()) try osc_writer.writeByte(';'); try osc_writer.writeAll("\x1b\\"); const osc = osc_fbs.getWritten();