From fb7b9f94dfe5d9c14c53e43ccd0eeda63c979d7e Mon Sep 17 00:00:00 2001 From: Yorhel Date: Sat, 11 Apr 2009 14:16:51 +0200 Subject: [PATCH] util.c:freedir() doesn't have to do anything with the selected flag --- src/util.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/util.c b/src/util.c index f218381..930610d 100644 --- a/src/util.c +++ b/src/util.c @@ -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; }