system_preds

This commit is contained in:
Vitor Santos Costa
2017-06-16 11:53:21 +01:00
parent 97aad19cd0
commit 8ac3d980c2
4 changed files with 23 additions and 2 deletions

View File

@@ -1732,7 +1732,7 @@ X_API bool YAP_LeaveGoal(bool backtrack, YAP_dogoalinfo *dgi) {
BACKUP_MACHINE_REGS();
myB = (choiceptr)(LCL0 - dgi->b);
if (B < myB) {
if (B > myB) {
/* someone cut us */
return FALSE;
}