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
No related branches found
No related tags found
No related merge requests found
...@@ -217,13 +217,11 @@ struct dir *freedir(struct dir *dr) { ...@@ -217,13 +217,11 @@ struct dir *freedir(struct dir *dr) {
if(cur == NULL && dr->parent->parent) if(cur == NULL && dr->parent->parent)
cur = dr->parent; cur = dr->parent;
} }
if(cur != NULL)
cur->flags |= FF_BSEL;
free(dr->name); free(dr->name);
free(dr); 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