(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:
Andrew Borodin 2011-05-07 18:43:47 +04:00
parent 97a776be47
commit 835f12eb59

View File

@ -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))
{