mirror of https://github.com/MidnightCommander/mc
Merge branch '2694_tilde_find_file'
* 2694_tilde_find_file: Ticket #2694: support '~' as home dir in 'Start at:' field in 'Find File' dialog.
This commit is contained in:
commit
0a7365445d
|
@ -718,7 +718,7 @@ find_parameters (char **start_dir, ssize_t * start_dir_len,
|
|||
g_free (in_start_dir);
|
||||
in_start_dir = g_strdup (*start_dir);
|
||||
|
||||
s = g_strdup (*start_dir);
|
||||
s = tilde_expand (*start_dir);
|
||||
canonicalize_pathname (s);
|
||||
|
||||
if (s[0] == '.' && s[1] == '\0')
|
||||
|
|
Loading…
Reference in New Issue