extra protection

This commit is contained in:
Vítor Santos Costa 2013-10-30 09:41:15 +00:00
parent 0f43a319c5
commit d77de70868

View File

@ -660,7 +660,7 @@ from_pointer(CELL *ptr0, struct rewind_term *rwt, struct write_globs *wglb)
} else {
rwt->u.d.old = t;
rwt->u.d.ptr = ptr0;
if (!IsAtomicTerm(t) && !IsVarTerm(t)) {
if ( !IsVarTerm(t) && !IsAtomicTerm(t)) {
struct rewind_term *x = rwt->parent;
while (x) {