aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexHTML.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2014-07-29 08:56:48 +1000
committerNeil <nyamatongwe@gmail.com>2014-07-29 08:56:48 +1000
commit11301408b25759f31c0d3505f2bb854c5f355045 (patch)
tree08f3d14e2ff072f943ccc39ebc0a1216226851f0 /lexers/LexHTML.cxx
parent033a05261be492ffc78da8c1eda92188a54c3fa7 (diff)
downloadscintilla-mirror-11301408b25759f31c0d3505f2bb854c5f355045.tar.gz
Fixing previous change for mako to be type-safe.
Diffstat (limited to 'lexers/LexHTML.cxx')
-rw-r--r--lexers/LexHTML.cxx2
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;