fix excessive untrailing in C-code interface (obs from Nuno Fonseca).

This commit is contained in:
Vítor Manuel de Morais Santos Costa 2009-12-04 22:58:46 +00:00
parent bed3e52a84
commit 783c5ed6bc
1 changed files with 1 additions and 1 deletions

View File

@ -1917,9 +1917,9 @@ YAP_PruneGoal(void)
while (B->cp_ap != NOCODE) {
B = B->cp_b;
}
Yap_TrimTrail();
B = B->cp_b;
Yap_TrimTrail();
RECOVER_B();
}