From 24c75975e3cb812bd8475f180f07f812777cc8cf Mon Sep 17 00:00:00 2001 From: belliash Date: Wed, 5 Jun 2019 19:15:47 +0200 Subject: [PATCH] Correct the condition. --- engine/oop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/oop.c b/engine/oop.c index 51a6645..f3e4b46 100644 --- a/engine/oop.c +++ b/engine/oop.c @@ -810,7 +810,7 @@ PH7_PRIVATE sxi32 PH7_ClassInstanceCmp(ph7_class_instance *pLeft, ph7_class_inst * are identical if and only if they refer to the same instance * of the same class. */ - return !(pLeft == pRight); + return pLeft != pRight; } /* * Attribute comparison.