mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-15 02:08:40 -09:00
fix minor compilation error
hi, this was giving error building with zig 0.10.0-dev.1721+795f079
This commit is contained in:
parent
2e4f0f0bce
commit
a32c839841
1 changed files with 1 additions and 1 deletions
|
|
@ -215,7 +215,7 @@ const Row = struct {
|
||||||
ui.addch('[');
|
ui.addch('[');
|
||||||
if (main.config.show_percent) {
|
if (main.config.show_percent) {
|
||||||
self.bg.fg(.num);
|
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))
|
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))
|
else @intToFloat(f32, item.size) / @intToFloat(f32, std.math.max(1, dir_parent.entry.size))
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue