From 0394238a294d65b5a4cdfcfac6ac2720c7e57aa0 Mon Sep 17 00:00:00 2001 From: Nay Date: Sat, 31 Aug 2013 22:44:10 +0100 Subject: Dep/G3D: Fix a typo in Matrix4 == operator --- dep/g3dlite/source/Matrix4.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dep/g3dlite/source/Matrix4.cpp') diff --git a/dep/g3dlite/source/Matrix4.cpp b/dep/g3dlite/source/Matrix4.cpp index 2ce14f6c5d4..fbc918f8f3e 100644 --- a/dep/g3dlite/source/Matrix4.cpp +++ b/dep/g3dlite/source/Matrix4.cpp @@ -382,7 +382,7 @@ bool Matrix4::operator==(const Matrix4& other) const { // If the bit patterns are identical, they must be // the same matrix. If not, they *might* still have // equal elements due to floating point weirdness. - if (memcmp(this, &other, sizeof(Matrix4) == 0)) { + if (memcmp(this, &other, sizeof(Matrix4)) == 0) { return true; } -- cgit v1.2.3