diff options
author | Neil <nyamatongwe@gmail.com> | 2014-07-29 08:56:48 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2014-07-29 08:56:48 +1000 |
commit | 11301408b25759f31c0d3505f2bb854c5f355045 (patch) | |
tree | 08f3d14e2ff072f943ccc39ebc0a1216226851f0 /lexers/LexHTML.cxx | |
parent | 033a05261be492ffc78da8c1eda92188a54c3fa7 (diff) | |
download | scintilla-mirror-11301408b25759f31c0d3505f2bb854c5f355045.tar.gz |
Fixing previous change for mako to be type-safe.
Diffstat (limited to 'lexers/LexHTML.cxx')
-rw-r--r-- | lexers/LexHTML.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexHTML.cxx b/lexers/LexHTML.cxx index 77a4cc582..02047930c 100644 --- a/lexers/LexHTML.cxx +++ b/lexers/LexHTML.cxx @@ -829,7 +829,7 @@ static void ColouriseHyperTextDoc(unsigned int startPos, int length, int initSty else if (isMako && makoComment && (ch == '\r' || ch == '\n')) { makoComment = 0; styler.ColourTo(i, StateToPrint); - if (inScriptType == eScriptPython) { + if (scriptLanguage == eScriptPython) { state = SCE_HP_DEFAULT; } else { state = SCE_H_DEFAULT; |