From d6571fa63db365bced55161c5d2e370b0097b4f8 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/LexAU3.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/LexAU3.cxx') diff --git a/src/LexAU3.cxx b/src/LexAU3.cxx index cedf261f5..cfff9279d 100644 --- a/src/LexAU3.cxx +++ b/src/LexAU3.cxx @@ -253,11 +253,12 @@ static void ColouriseAU3Doc(unsigned int startPos, //Reset at line end if (sc.atLineEnd) { ci=0; - if ((strcmp(s, "#ce")== 0 || strcmp(s, "#comments-end")== 0)) + if (strcmp(s, "#ce")== 0 || strcmp(s, "#comments-end")== 0) { if (sc.atLineEnd) sc.SetState(SCE_AU3_DEFAULT); else sc.SetState(SCE_AU3_COMMENTBLOCK); + } break; } //skip rest of line when a ; is encountered -- cgit v1.2.3