summaryrefslogtreecommitdiffstats
path: root/src/dirn.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-05-24 16:57:03 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2009-05-24 16:57:03 +0200
commit7b5bf6bdfc8ffe6ea00779ee62fb72b6c498ab1a (patch)
tree47fbc6d31a36d5a34db9906e4abc10a88e7dda27 /src/dirn.c
parent9cd4ae3c156726b30868ae529439307ab890824f (diff)
If the destination is full, PhotoRec ask for a new location and it defaults
to the actual location instead of the default one.
Diffstat (limited to 'src/dirn.c')
-rw-r--r--src/dirn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dirn.c b/src/dirn.c
index c4af7c0..34a254f 100644
--- a/src/dirn.c
+++ b/src/dirn.c
@@ -273,10 +273,10 @@ static long int dir_aff_ncurses(disk_t *disk, const partition_t *partition, dir_
{
if(LINUX_S_ISDIR(pos->stat.st_mode)!=0)
dir_data->local_dir=ask_location("Are you sure you want to copy %s and any files below to the directory %s ? [Y/N]",
- dir_data->current_directory);
+ dir_data->current_directory, NULL);
else
dir_data->local_dir=ask_location("Are you sure you want to copy %s to the directory %s ? [Y/N]",
- dir_data->current_directory);
+ dir_data->current_directory, NULL);
}
if(dir_data->local_dir!=NULL)
{