Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2016-05-26 15:20:12 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-05-26 15:20:12 +0300
commitd5e0e681cea846facb4f2777921f6612be3ee193 (patch)
tree5a4a6ede38cee4bfd15ff26e48c50a71eb47bf16 /source/blender/blenlib/intern/BLI_ghash.c
parent7424ded9c7d842cf56f677607d7a3c5c1562b687 (diff)
Correct invalid pointer-pair compare check
Diffstat (limited to 'source/blender/blenlib/intern/BLI_ghash.c')
-rw-r--r--source/blender/blenlib/intern/BLI_ghash.c2
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));
}