mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
(do_find): fix wrong duplication of file name.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
4df5bbf9ef
commit
11ed948f02
@ -1857,7 +1857,7 @@ do_find (WPanel * panel, const char *start_dir, ssize_t start_dir_len, const cha
|
||||
continue;
|
||||
}
|
||||
|
||||
list->list[list->len].fname = mc_g_string_dup (list->list[list->len].fname);
|
||||
list->list[list->len].fname = g_string_new (p);
|
||||
list->list[list->len].f.marked = 0;
|
||||
list->list[list->len].f.link_to_dir = link_to_dir ? 1 : 0;
|
||||
list->list[list->len].f.stale_link = stale_link ? 1 : 0;
|
||||
|
Loading…
Reference in New Issue
Block a user