fix minor compilation error

hi, this was giving error building with zig 0.10.0-dev.1721+795f079
This commit is contained in:
hariseldon78 2022-04-05 01:42:34 +02:00
parent 2e4f0f0bce
commit a32c839841

View file

@ -215,7 +215,7 @@ const Row = struct {
ui.addch('[');
if (main.config.show_percent) {
self.bg.fg(.num);
ui.addprint("{d:>5.1}", .{ 100*
ui.addprint("{d:>5.1}", .{ 100 *
if (main.config.show_blocks) @intToFloat(f32, item.blocks) / @intToFloat(f32, std.math.max(1, dir_parent.entry.blocks))
else @intToFloat(f32, item.size) / @intToFloat(f32, std.math.max(1, dir_parent.entry.size))
});