Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
452ee22
)
ecere/com/Containers: Fixed comparison of 2 null containers
author
Jerome St-Louis
<jerome@ecere.com>
Wed, 6 Jul 2016 09:19:49 +0000
(
05:19
-0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Sat, 16 Jul 2016 22:17:47 +0000
(18:17 -0400)
ecere/src/com/containers/Container.ec
patch
|
blob
|
history
diff --git
a/ecere/src/com/containers/Container.ec
b/ecere/src/com/containers/Container.ec
index
483c362
..
4963e6c
100644
(file)
--- 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;