]> Pileus Git - ~andy/gtk/commit
bitmask: Fix intersection code
authorBenjamin Otte <otte@redhat.com>
Sat, 10 Nov 2012 17:35:37 +0000 (18:35 +0100)
committerBenjamin Otte <otte@redhat.com>
Sat, 10 Nov 2012 17:35:37 +0000 (18:35 +0100)
commite8f2eeac9221d91ba32447bbcbdc5ba057647f8e
treefc73ad96a3f3c60c6c2422a2966840ee02b2f2a0
parentaae2bf91cb0b092529fea7efe1d9884f9168e5aa
bitmask: Fix intersection code

With the fix in 77912a65e2aa6eb9cfee994fa93bbfbc6b9f8538, another bug
got visible: booleans are 32 bits, so if the intersection between the 2
bitmasks happened in higher bits, the return value would be truncated to
FALSE.

This actually made slider handles disappear, so it was pretty visible.
gtk/gtkbitmaskprivateimpl.h