]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/textcmn.cpp
Update version to 2.9.4 in version.bkl too and rebake everything.
[wxWidgets.git] / src / common / textcmn.cpp
index 76b0916d21200f1a0b2a56ba0fba8a9ffd928b8c..d64baccfb743c73d8cf8a6f0a9cc7409638e4320 100644 (file)
@@ -773,7 +773,7 @@ bool wxTextAttr::BitlistsEqPartial(int valueA, int valueB, int flags)
 {
     int relevantBitsA = valueA & flags;
     int relevantBitsB = valueB & flags;
-    return (relevantBitsA != relevantBitsB);
+    return relevantBitsA == relevantBitsB;
 }
 
 /// Split into paragraph and character styles