From 1b774ac1fe89501c314d885ce41e2266d1faa295 Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Wed, 16 Oct 2013 14:12:23 +0400 Subject: [PATCH] (file_mask_dialog): don't call tilde_expand() because vfs_path_from_str() returns an absolute path. Signed-off-by: Andrew Borodin --- src/filemanager/filegui.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/filemanager/filegui.c b/src/filemanager/filegui.c index 62ecca921..b75fa247d 100644 --- a/src/filemanager/filegui.c +++ b/src/filemanager/filegui.c @@ -1312,9 +1312,6 @@ 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);