aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/LexInno.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexInno.cxx b/src/LexInno.cxx
index fe7af1e7d..6da8548ff 100644
--- a/src/LexInno.cxx
+++ b/src/LexInno.cxx
@@ -144,7 +144,7 @@ static void ColouriseInnoDoc(unsigned int startPos, int length, int, WordList *k
// Check if the buffer contains a section name
if (sectionKeywords.InList(buffer)) {
styler.ColourTo(i,SCE_INNO_SECTION);
- isCode = !strcmpi(buffer, "code");
+ isCode = !CompareCaseInsensitive(buffer, "code");
} else {
styler.ColourTo(i,SCE_INNO_DEFAULT);
}