diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-05-26 15:20:12 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-05-26 15:20:12 +0300 |
commit | d5e0e681cea846facb4f2777921f6612be3ee193 (patch) | |
tree | 5a4a6ede38cee4bfd15ff26e48c50a71eb47bf16 /source | |
parent | 7424ded9c7d842cf56f677607d7a3c5c1562b687 (diff) |
Correct invalid pointer-pair compare check
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenlib/intern/BLI_ghash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/BLI_ghash.c b/source/blender/blenlib/intern/BLI_ghash.c index 06946e520a8..05f2d9221ef 100644 --- a/source/blender/blenlib/intern/BLI_ghash.c +++ b/source/blender/blenlib/intern/BLI_ghash.c @@ -1287,7 +1287,7 @@ bool BLI_ghashutil_paircmp(const void *a, const void *b) const GHashPair *A = a; const GHashPair *B = b; - return (BLI_ghashutil_ptrcmp(A->first, B->first) || + return (BLI_ghashutil_ptrcmp(A->first, B->first) && BLI_ghashutil_ptrcmp(A->second, B->second)); } |