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

util.c:freedir() doesn't have to do anything with the selected flag

parent 690eb3f5
Branches
Tags
No related merge requests found
......@@ -217,13 +217,11 @@ struct dir *freedir(struct dir *dr) {
if(cur == NULL && dr->parent->parent)
cur = dr->parent;
}
if(cur != NULL)
cur->flags |= FF_BSEL;
free(dr->name);
free(dr);
return(cur);
return cur;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment