aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2010-02-24 06:03:31 +0000
committernyamatongwe <devnull@localhost>2010-02-24 06:03:31 +0000
commitb830c5fb138ef5313d6f47cfc4d177ba117566bb (patch)
tree60762ccfcc914223708fb9aecfe4cb20fbd23452
parentd2449c952e3ffce764455cf9ee0c4c3ed1b91b6d (diff)
downloadscintilla-mirror-b830c5fb138ef5313d6f47cfc4d177ba117566bb.tar.gz
Extra bracketing to avoid GCC warnings.
-rw-r--r--win32/ScintillaWin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx
index e3cf1ddc6..8cdf00507 100644
--- a/win32/ScintillaWin.cxx
+++ b/win32/ScintillaWin.cxx
@@ -2397,7 +2397,7 @@ bool ScintillaWin::Unregister() {
bool ScintillaWin::HasCaretSizeChanged() {
if (
( (0 != vs.caretWidth) && (sysCaretWidth != vs.caretWidth) )
- || (0 != vs.lineHeight) && (sysCaretHeight != vs.lineHeight)
+ || ((0 != vs.lineHeight) && (sysCaretHeight != vs.lineHeight))
) {
return true;
}