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

This commit is contained in:
Yorhel 2014-04-30 13:02:46 +02:00
parent 54d6d78d9d
commit 61387d2f8c

View file

@ -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;
}