The test for files.bbs for files to import was done in the wrong directory

This commit is contained in:
Michiel Broek
2005-12-16 20:00:40 +00:00
parent 1e1caf43d1
commit eb8c383a90
2 changed files with 3 additions and 1 deletions

View File

@@ -100,7 +100,7 @@ void ImportFiles(int Area)
* Find and open files.bbs
*/
snprintf(temp, PATH_MAX, "FILES.BBS");
if (getfilecase(area.Path, temp) == FALSE) {
if (getfilecase(pwd, temp) == FALSE) {
WriteError("Can't find files.bbs anywhere");
if (!do_quiet)
printf("Can't find files.bbs anywhere\n");