mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-22 06:07:34 +02:00
Fixing the same problem again. . . actual mechanism was slightly
different than I expected.
This commit is contained in:
@@ -2736,6 +2736,7 @@ DBCellWrite(cellDef, fileName)
|
|||||||
/* surprises can occur after saving a file as a different */
|
/* surprises can occur after saving a file as a different */
|
||||||
/* filename. */
|
/* filename. */
|
||||||
|
|
||||||
|
if (fileName != cellDef->cd_file)
|
||||||
StrDup(&cellDef->cd_file, fileName);
|
StrDup(&cellDef->cd_file, fileName);
|
||||||
|
|
||||||
/* The cd_file should not have the .mag suffix, but make sure */
|
/* The cd_file should not have the .mag suffix, but make sure */
|
||||||
|
|||||||
Reference in New Issue
Block a user