mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-12 17:08:39 -09:00
delete.c: Fix segfault when not confirming a clear operation
This commit is contained in:
parent
54d6d78d9d
commit
61387d2f8c
1 changed files with 1 additions and 1 deletions
|
|
@ -223,7 +223,7 @@ void delete_process() {
|
|||
seloption = 1;
|
||||
while(state == DS_CONFIRM && !noconfirm)
|
||||
if(input_handle(0)) {
|
||||
browse_init(root->parent);
|
||||
browse_init(clearing ? root : root->parent);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue