From 45276d5c5f35e5e8a09ff06524a67a4fe9df84ca Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 27 Apr 2009 03:34:45 +0000 Subject: Refixed warning. --- src/LexProgress.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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)) { -- cgit v1.2.3