diff options
author | Yorhel <git@yorhel.nl> | 2009-04-11 14:16:51 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-04-11 14:16:51 +0200 |
commit | fb7b9f94dfe5d9c14c53e43ccd0eeda63c979d7e (patch) | |
tree | 85bc384dbd6432cfacf68c83d039752f72ae18f5 | |
parent | 690eb3f5930079698f2e318c8be29fd6ef0c0a71 (diff) |
util.c:freedir() doesn't have to do anything with the selected flag
-rw-r--r-- | src/util.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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; } |