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();