aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexHTML.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2011-04-22 10:27:38 +1000
committernyamatongwe <unknown>2011-04-22 10:27:38 +1000
commit92d2913315bfaad28110770950e0a78ec5a5f871 (patch)
tree91457a3ad056e2db9fbbe3b43392920ccab74e7d /lexers/LexHTML.cxx
parent767f9599d778753f24286bf063aee1bb6d2612d7 (diff)
downloadscintilla-mirror-92d2913315bfaad28110770950e0a78ec5a5f871.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--;