summaryrefslogtreecommitdiffstats
path: root/src/adv.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-10-06 20:16:54 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2008-10-06 20:16:54 +0200
commit33a01be952abdca832440063301065b3bbb6d85c (patch)
tree109b231a0c1014e84b36f0dcdb3c1955a5f8151e /src/adv.c
parent9ee8b03c29edcbc1f770ae23f516207787d0811f (diff)
List deleted files instead of normal files when choosing Undelete for a partition forced as NTFS
Diffstat (limited to 'src/adv.c')
-rw-r--r--src/adv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/adv.c b/src/adv.c
index 33185f2..65c6671 100644
--- a/src/adv.c
+++ b/src/adv.c
@@ -486,7 +486,7 @@ void interface_adv(disk_t *disk_car, const int verbose,const int dump_ind, const
case 'L':
{
partition_t *partition=current_element->part;
- if(partition->upart_type==UP_NTFS)
+ if(partition->upart_type==UP_NTFS || is_part_ntfs(partition))
ntfs_undelete_part(disk_car, partition, verbose, current_cmd);
else
dir_partition(disk_car, partition, 0, current_cmd);