aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexHTML.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-04-22 10:27:38 +1000
committernyamatongwe <devnull@localhost>2011-04-22 10:27:38 +1000
commitbac0e25db6d1ec83796a659eef9594ec7921c560 (patch)
tree98291d2ca3bbf895a8e6c21aa7d6f4c4403cf12f /lexers/LexHTML.cxx
parent60ddd45e4dcb11c92d9f2cece40252f6232fc9b1 (diff)
downloadscintilla-mirror-bac0e25db6d1ec83796a659eef9594ec7921c560.tar.gz
Avoid warning.
Diffstat (limited to 'lexers/LexHTML.cxx')
-rw-r--r--lexers/LexHTML.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexHTML.cxx b/lexers/LexHTML.cxx
index fe681cc9d..c570cd528 100644
--- a/lexers/LexHTML.cxx
+++ b/lexers/LexHTML.cxx
@@ -755,7 +755,7 @@ static void ColouriseHyperTextDoc(unsigned int startPos, int length, int initSty
levelCurrent--;
}
} else if ((ch == '{') || (ch == '}') || (foldComment && (ch == '/') && (chNext == '*')) ) {
- levelCurrent += ((ch == '{') || (ch == '/') ) ? 1 : -1;
+ levelCurrent += (((ch == '{') || (ch == '/') ) ? 1 : -1);
}
} else if (((state == SCE_HPHP_COMMENT) || (state == SCE_HJ_COMMENT)) && foldComment && (ch == '*') && (chNext == '/')) {
levelCurrent--;