Fixing the same problem again. . . actual mechanism was slightly
different than I expected.
This commit is contained in:
parent
28d8808c65
commit
d4c2b878f5
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Reference in New Issue