fix bad restore: we would just restore the first predicate with same name (obs from Nuno Fonseca).

This commit is contained in:
Vítor Santos Costa II 2010-04-08 00:52:00 +01:00
parent 55b464dace
commit 143022e6aa

View File

@ -1351,11 +1351,12 @@ RestoreEntries(PropEntry *pp, int int_key)
AtomAdjust(fe->NameOfFE);
p0 = fe->PropsOfFE =
PropAdjust(fe->PropsOfFE);
if (!EndOfPAEntr(p0)) {
while (!EndOfPAEntr(p0)) {
/* at most one property */
CleanCode(RepPredProp(p0));
RepPredProp(p0)->NextOfPE =
PropAdjust(RepPredProp(p0)->NextOfPE);
p0 = RepPredProp(p0)->NextOfPE;
}
}
break;