Revert "Correct invalid pointer-pair compare check"
This reverts commit d5e0e681ce
.
Tsk, these functions return false on a match.
This commit is contained in:
parent
543c64ef74
commit
8cf8679b53
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue