summaryrefslogtreecommitdiffstats
path: root/scintilla/lexers/LexPerl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'scintilla/lexers/LexPerl.cxx')
-rw-r--r--scintilla/lexers/LexPerl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/scintilla/lexers/LexPerl.cxx b/scintilla/lexers/LexPerl.cxx
index 4e020cc..b02438b 100644
--- a/scintilla/lexers/LexPerl.cxx
+++ b/scintilla/lexers/LexPerl.cxx
@@ -755,7 +755,7 @@ void SCI_METHOD LexerPerl::Lex(Sci_PositionU startPos, Sci_Position length, int
backPos++;
}
- StyleContext sc(startPos, endPos - startPos, initStyle, styler, static_cast<char>(STYLE_MAX));
+ StyleContext sc(startPos, endPos - startPos, initStyle, styler);
for (; sc.More(); sc.Forward()) {