From 1923c3544c48c5655af8985c205a7261464cbf7c Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Wed, 28 Dec 2011 09:46:16 +0300 Subject: [PATCH] Ticket #2694: support '~' as home dir in 'Start at:' field in 'Find File' dialog. Signed-off-by: Andrew Borodin --- src/filemanager/find.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filemanager/find.c b/src/filemanager/find.c index b56210a86..c85226822 100644 --- a/src/filemanager/find.c +++ b/src/filemanager/find.c @@ -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')