From 2f6cb0e25c35daf753a07b661482b4be81a6222c Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 1 Jan 2009 01:36:37 +0000 Subject: Updates to avoid warnings from GCC 4.3. Should not change behaviour. --- src/LexProgress.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/LexProgress.cxx') diff --git a/src/LexProgress.cxx b/src/LexProgress.cxx index c21356960..902aa53d5 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 (((sc.state & 0x10) == 0) && keywords2.InList(s) || keywords3.InList(s)) { + if ((((sc.state & 0x10) == 0) && keywords2.InList(s)) || keywords3.InList(s)) { sc.ChangeState(SCE_4GL_BLOCK | ResetSentenceStart); } else if (keywords1.InList(s)) { -- cgit v1.2.3