aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <nyamatongwe@gmail.com>2011-10-26 20:26:44 +1100
committernyamatongwe <nyamatongwe@gmail.com>2011-10-26 20:26:44 +1100
commitc21f6532e36fdf5ec3cde7351d4e99e3cdde9d0d (patch)
treead0c2ffd8aa9114009f48473fe6260dd74ed4378
parent3d2fe39e86315114c0774ff01b776ded16d03af3 (diff)
downloadscintilla-mirror-c21f6532e36fdf5ec3cde7351d4e99e3cdde9d0d.tar.gz
Fix warning from Clang.
-rw-r--r--lexers/LexScriptol.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexScriptol.cxx b/lexers/LexScriptol.cxx
index 17184fc61..4b9192314 100644
--- a/lexers/LexScriptol.cxx
+++ b/lexers/LexScriptol.cxx
@@ -368,7 +368,7 @@ static void FoldSolDoc(unsigned int startPos, int length, int initStyle,
int state = initStyle & 31;
int spaceFlags = 0;
int indentCurrent = styler.IndentAmount(lineCurrent, &spaceFlags, IsSolComment);
- if ((state == SCE_SCRIPTOL_TRIPLE))
+ if (state == SCE_SCRIPTOL_TRIPLE)
indentCurrent |= SC_FOLDLEVELWHITEFLAG;
char chNext = styler[startPos];
for (int i = startPos; i < lengthDoc; i++)