aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexScriptol.cxx
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
commit7611d2ebff6610fc62c7c4790d58a1b8147fc82d (patch)
treec7b003d59ee83c77833f37871bbf73f5fbc9c487 /lexers/LexScriptol.cxx
parent0f9ab9370280e17013186b410edcd123a132f957 (diff)
downloadscintilla-mirror-7611d2ebff6610fc62c7c4790d58a1b8147fc82d.tar.gz
Fix warning from Clang.
Diffstat (limited to 'lexers/LexScriptol.cxx')
-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++)