From: Jerome St-Louis Date: Wed, 6 Jul 2016 09:19:49 +0000 (-0400) Subject: ecere/com/Containers: Fixed comparison of 2 null containers X-Git-Tag: 0.44.15~277 X-Git-Url: https://ecere.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae166c5d22796f2680e09f368d02092d4bd61b40;p=sdk ecere/com/Containers: Fixed comparison of 2 null containers --- diff --git a/ecere/src/com/containers/Container.ec b/ecere/src/com/containers/Container.ec index 483c362..4963e6c 100644 --- a/ecere/src/com/containers/Container.ec +++ b/ecere/src/com/containers/Container.ec @@ -156,6 +156,7 @@ public: if(this && !b) return 1; if(b && !this) return -1; + if(!b && !this) return 0; if(GetCount() > b.GetCount()) return 1; if(GetCount() < b.GetCount()) return -1;