From 365253d089ffe0a3a79abb415b8569b956e173a9 Mon Sep 17 00:00:00 2001 From: Hamcha Date: Wed, 8 May 2024 01:17:51 +0200 Subject: [PATCH] it's late ok???? --- src/view.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/view.zig b/src/view.zig index 6616909..d694266 100644 --- a/src/view.zig +++ b/src/view.zig @@ -33,7 +33,7 @@ pub fn main() !void { const next = try reader.readByte(); std.debug.print("{x}: ", .{y}); for (0..8) |x| { - if (@as(u1, @truncate(next >> @truncate(8 - x))) == 1) { + if (@as(u1, @truncate(next >> @truncate(7 - x))) == 1) { std.debug.print("*", .{}); } else { std.debug.print(" ", .{});