diff options
author | Max Klinger <git@max-klinger.org> | 2014-04-29 09:02:00 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2015-09-20 07:54:43 +0200 |
commit | 5aeb4f9b09a6e39ca0f8ab1e7fce55e8abb948ad (patch) | |
tree | 61f0980d434513df9a3b12f2f0e432c4c228731f | |
parent | 078369b8c5500d614a8e640a2cb5a54ef3c585ef (diff) |
change wording when deleting empty directory
-rw-r--r-- | src/delete.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/delete.c b/src/delete.c index a8e15ae..55afd2f 100644 --- a/src/delete.c +++ b/src/delete.c @@ -46,7 +46,7 @@ static void delete_draw_confirm() { ncprint(1, 2, "Are you sure you want to delete \"%s\"%c", cropstr(root->name, 21), root->flags & FF_DIR ? ' ' : '?'); - if(root->flags & FF_DIR) + if(root->flags & FF_DIR && root->sub != NULL) ncprint(2, 18, "and all of its contents?"); if(seloption == 0) |