Skip to content
Snippets Groups Projects
Commit 61387d2f authored by Yorhel's avatar Yorhel
Browse files

delete.c: Fix segfault when not confirming a clear operation

parent 54d6d78d
No related branches found
No related tags found
No related merge requests found
...@@ -223,7 +223,7 @@ void delete_process() { ...@@ -223,7 +223,7 @@ void delete_process() {
seloption = 1; seloption = 1;
while(state == DS_CONFIRM && !noconfirm) while(state == DS_CONFIRM && !noconfirm)
if(input_handle(0)) { if(input_handle(0)) {
browse_init(root->parent); browse_init(clearing ? root : root->parent);
return; return;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment