No changes, just simplify the mask checks in wxImage::Paste().
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 26 Apr 2011 22:57:08 +0000 (22:57 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 26 Apr 2011 22:57:08 +0000 (22:57 +0000)
commitde83bbe34f8900083b3a9ab4024ac9eef65eae8d
tree686717e02e2c4972226c84e3f312bdb59da16e32
parentbe0d0fedf936869e554b1335ac423a71c9750fe9
No changes, just simplify the mask checks in wxImage::Paste().

Replace the test of the form "(!a && b) || (a && b)" with a simple test for
"b" and then also replace the test for "b || (c && !b)" with just "b || c".
The end result is much easier to read and understand.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/image.cpp