mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
Corrected error introduced a while ago, probably with the addition
of cell name dereferencing on file loads, where the cell load subroutine call ended up with the wrong number of arguments, resulting in an invalid pointer and a crash condition.
This commit is contained in:
+1
-1
@@ -348,7 +348,7 @@ DBTreeFindUse(name, use, scx)
|
||||
if ((def->cd_flags & CDAVAILABLE) == 0)
|
||||
{
|
||||
bool dereference = (def->cd_flags & CDDEREFERENCE) ? TRUE : FALSE;
|
||||
(void) DBCellRead(def, (char *) NULL, dereference, NULL);
|
||||
(void) DBCellRead(def, (char *) NULL, TRUE, dereference, NULL);
|
||||
}
|
||||
|
||||
scx->scx_use = use;
|
||||
|
||||
Reference in New Issue
Block a user