Fixing the same problem again. . . actual mechanism was slightly

different than I expected.
This commit is contained in:
Tim Edwards
2020-05-28 21:10:42 -04:00
parent 28d8808c65
commit d4c2b878f5
+2 -1
View File
@@ -2736,7 +2736,8 @@ DBCellWrite(cellDef, fileName)
/* surprises can occur after saving a file as a different */
/* filename. */
StrDup(&cellDef->cd_file, fileName);
if (fileName != cellDef->cd_file)
StrDup(&cellDef->cd_file, fileName);
/* The cd_file should not have the .mag suffix, but make sure */
/* it doesn't before adding one. */