aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexProgress.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/LexProgress.cxx')
-rw-r--r--src/LexProgress.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexProgress.cxx b/src/LexProgress.cxx
index d4379f03c..d5217beec 100644
--- a/src/LexProgress.cxx
+++ b/src/LexProgress.cxx
@@ -100,7 +100,7 @@ static void Colourise4glDoc(unsigned int startPos, int length, int initStyle, Wo
if (!IsAWordChar(sc.ch) && sc.ch != '-') {
char s[1000];
sc.GetCurrentLowered(s, sizeof(s));
- if ((sentenceStartState == 0) && keywords2.InList(s) || keywords3.InList(s)) {
+ if (((sentenceStartState == 0) && keywords2.InList(s)) || keywords3.InList(s)) {
sc.ChangeState(SCE_4GL_BLOCK | ResetSentenceStart);
}
else if (keywords1.InList(s)) {