Skip to content
Snippets Groups Projects
Commit d241bd0d authored by rswindell's avatar rswindell
Browse files

When importing file areas from a file (e.g. FILEGATE.ZXX), and the dir's

"short name" (e.g. derived from the "AREA tag" from FILEGATE.ZXX) is the same
as a pre-existing dir, just over-write that dir - don't create a new one.
parent 24f68cc2
Branches
Tags
No related merge requests found
......@@ -841,6 +841,8 @@ void xfer_cfg()
if(tmpdir.path[0]
&& strcmp(cfg.dir[j]->path, tmpdir.path) == 0) /* same path? overwrite the dir entry */
break;
if(stricmp(cfg.dir[j]->sname, tmpdir.sname) == 0)
break;
} else {
if((cfg.lib[i]->code_prefix[0] || cfg.lib[cfg.dir[j]->lib]->code_prefix[0]))
continue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment