aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2009-02-14 23:40:48 +0000
committernyamatongwe <devnull@localhost>2009-02-14 23:40:48 +0000
commit73468d3ec9f9174196ab89d19b73e6a30c664505 (patch)
tree88d7aa113c8479d09a28bf211399c09d82d2fc99
parentfa4bd51d2caec16b782f136fa4ffa53a89b9b804 (diff)
downloadscintilla-mirror-73468d3ec9f9174196ab89d19b73e6a30c664505.tar.gz
Using platform-independent CompareCaseInsensitive function.
-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);
}