mirror of https://github.com/MidnightCommander/mc
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:
parent
05d220a9c6
commit
49e35a62fb
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue