mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-12 17:08:39 -09:00
Bin export: fix incorrectly setting prev=0 on the root node
This commit is contained in:
parent
df5845baad
commit
bdc730f1e5
1 changed files with 1 additions and 1 deletions
|
|
@ -390,7 +390,7 @@ pub const Dir = struct {
|
|||
p.last_sub = t.itemStart(.dir, p.last_sub, name);
|
||||
} else {
|
||||
d.countLinks(null);
|
||||
global.root_itemref = t.itemStart(.dir, 0, name);
|
||||
global.root_itemref = t.itemStart(.dir, null, name);
|
||||
}
|
||||
d.inodes.deinit();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue