summaryrefslogtreecommitdiffstats
path: root/src/ntfs_udl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ntfs_udl.c')
-rw-r--r--src/ntfs_udl.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ntfs_udl.c b/src/ntfs_udl.c
index d16fa94..37d0a50 100644
--- a/src/ntfs_udl.c
+++ b/src/ntfs_udl.c
@@ -1617,11 +1617,9 @@ static void ntfs_undelete_menu(disk_t *disk_car, const partition_t *partition, d
log_list_file(disk_car, partition, dir_data, dir_list);
if(*current_cmd!=NULL)
{
- while(*current_cmd[0]==',')
- (*current_cmd)++;
- if(strncmp(*current_cmd,"allundelete",11)==0)
+ skip_comma_in_command(current_cmd);
+ if(check_command(current_cmd,"allundelete",11)==0)
{
- (*current_cmd)+=11;
ntfs_undelete_cli(dir_data, dir_list);
}
return; /* Quit */