Fixed destination file name when file dialog with single operation is appear

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
Slava Zanko 2012-02-08 16:08:04 +03:00
parent 05d220a9c6
commit 49e35a62fb
1 changed files with 1 additions and 1 deletions

View File

@ -1064,7 +1064,7 @@ file_mask_dialog (FileOpContext * ctx, FileOperation operation,
{
vfs_path_t *vpath;
vpath = vfs_path_from_str (def_text);
vpath = vfs_path_from_str_flags (def_text, (only_one) ? VPF_NO_CANON : VPF_NONE);
tmp = vfs_path_to_str_flags (vpath, 0, VPF_STRIP_PASSWORD);
vfs_path_free (vpath);
}