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

@ -4,6 +4,8 @@ v0.83.4 04-Dec-2005
mbfile: mbfile:
Fixed file importing of non-archived files. Fixed file importing of non-archived files.
The test for files.bbs for files to import was done in the
wrong directory.
mbtask: mbtask:
Experimental code to recover from a half dead chatlink. Experimental code to recover from a half dead chatlink.

View File

@ -100,7 +100,7 @@ void ImportFiles(int Area)
* Find and open files.bbs * Find and open files.bbs
*/ */
snprintf(temp, PATH_MAX, "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"); WriteError("Can't find files.bbs anywhere");
if (!do_quiet) if (!do_quiet)
printf("Can't find files.bbs anywhere\n"); printf("Can't find files.bbs anywhere\n");