mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Ticket #3131: incorrect tilde expandion in copy/rename/move dialog.
Revert "(file_mask_dialog): don't call tilde_expand() because
vfs_path_from_str() returns an absolute path."
This reverts commit 1b774ac1fe
.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
8b67958674
commit
13bfb0898d
@ -1312,6 +1312,9 @@ file_mask_dialog (file_op_context_t * ctx, FileOperation operation,
|
||||
else
|
||||
ctx->search_handle->search_type = MC_SEARCH_T_REGEX;
|
||||
|
||||
tmp = dest_dir;
|
||||
dest_dir = tilde_expand (tmp);
|
||||
g_free (tmp);
|
||||
vpath = vfs_path_from_str (dest_dir);
|
||||
|
||||
ctx->dest_mask = strrchr (dest_dir, PATH_SEP);
|
||||
|
Loading…
Reference in New Issue
Block a user