mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-01 00:54:24 +03:00
(search_content): use mc_build_filename() instead of concat_dir_and_file().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
97a776be47
commit
835f12eb59
@ -977,7 +977,7 @@ search_content (Dlg_head * h, const char *directory, const char *filename)
|
||||
int file_fd;
|
||||
gboolean ret_val = FALSE;
|
||||
|
||||
fname = concat_dir_and_file (directory, filename);
|
||||
fname = mc_build_filename (directory, filename, (char *) NULL);
|
||||
|
||||
if (mc_stat (fname, &s) != 0 || !S_ISREG (s.st_mode))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user