Revert "Correct invalid pointer-pair compare check"

This reverts commit d5e0e681ce.

Tsk, these functions return false on a match.
This commit is contained in:
Campbell Barton 2016-06-01 23:07:52 +10:00
parent 543c64ef74
commit 8cf8679b53
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}