X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8680646d5c35b038a6370dcef7756c081fc6f959..08670ea85abf4b4946a9ce64971b591d7b1ee30b:/src/common/textcmn.cpp diff --git a/src/common/textcmn.cpp b/src/common/textcmn.cpp index 76b0916d21..d64baccfb7 100644 --- a/src/common/textcmn.cpp +++ b/src/common/textcmn.cpp @@ -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