Fixed mbsetup to move new fileareas

This commit is contained in:
Michiel Broek
2002-04-22 13:49:22 +00:00
parent 61788737a5
commit 352224c3f4
2 changed files with 4 additions and 2 deletions

View File

@@ -333,7 +333,7 @@ int EditFileRec(int Area)
case 1: E_STR( 6,16,44, area.Name, "The ^name^ for this area")
case 2: strcpy(tpath, area.Path);
strcpy(area.Path, edit_pth(7,16,64, area.Path, (char *)"The ^path^ for the files in this area"));
if (strlen(tpath) && strlen(area.Path) && strcmp(tpath, area.Path)) {
if (strlen(tpath) && strlen(area.Path) && strcmp(tpath, area.Path) && strcmp(tpath, CFG.ftp_base)) {
if ((dp = opendir(tpath)) == NULL) {
WriteError("Can't open directory %s", tpath);
} else {