summaryrefslogtreecommitdiffstats
path: root/src/pfree_whole.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pfree_whole.c')
-rw-r--r--src/pfree_whole.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/pfree_whole.c b/src/pfree_whole.c
index 76c8fd4..6a208c5 100644
--- a/src/pfree_whole.c
+++ b/src/pfree_whole.c
@@ -43,6 +43,12 @@ int ask_mode_ext2(const disk_t *disk_car, const partition_t *partition, unsigned
{'O',"Other","FAT/NTFS/HFS+/ReiserFS/..."},
{0,NULL,NULL}
};
+ static const struct MenuItem menuexFAT[]=
+ {
+ {'F',"Free", "Scan for files from exFAT unallocated space only"},
+ {'W',"Whole","Extract files from whole partition"},
+ {0,NULL,NULL}
+ };
static const struct MenuItem menuFAT12[]=
{
{'F',"Free", "Scan for files from FAT12 unallocated space only"},
@@ -110,8 +116,11 @@ int ask_mode_ext2(const disk_t *disk_car, const partition_t *partition, unsigned
wmove(window,7,0);
wclrtoeol(window);
waddstr(window,"Please choose if all space need to be analysed:");
- if(partition->upart_type==UP_FAT12)
- command = wmenuSelect_ext(window, 23, 8, 0, menuFAT16, 11,
+ if(partition->upart_type==UP_EXFAT)
+ command = wmenuSelect_ext(window, 23, 8, 0, menuexFAT, 11,
+ options, MENU_VERT | MENU_VERT_WARN | MENU_BUTTON, &menu,NULL);
+ else if(partition->upart_type==UP_FAT12)
+ command = wmenuSelect_ext(window, 23, 8, 0, menuFAT12, 11,
options, MENU_VERT | MENU_VERT_WARN | MENU_BUTTON, &menu,NULL);
else if(partition->upart_type==UP_FAT16)
command = wmenuSelect_ext(window, 23, 8, 0, menuFAT16, 11,