Discussion:
[Clanlib-devel] [PATCH] CL_Rect and CL_Rectf equality operator bugfix
Seth A. Robinson
2006-01-21 07:12:52 UTC
Permalink
The equality operators in CL_Rect and CL_Rectf could erroneously return true
in some cases. One && should have been a == in each case.


Patch enclosed. (patched against current 0.8 on SVN)



-Seth (mrfun)
Sean Heber
2006-01-23 22:37:25 UTC
Permalink
Seth,

Applied this as well as your previous patch. Thanks! (Also applied
the CL_Rect fix to the 0.9 branch).

l8r
Sean
Post by Seth A. Robinson
The equality operators in CL_Rect and CL_Rectf could erroneously
return true in some cases. One && should have been a == in each case.
Patch enclosed. (patched against current 0.8 on SVN)
-Seth (mrfun)
<rect.patch>
Loading...