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 | a545722ee49d59d4ff2a97174252d07d373e0a47 (patch) | |
tree | 12a6433d25c1cfaef6a92b4a635ee663f05a50f5 /lexers/LexHTML.cxx | |
parent | af304e058c7a4b243283b6674d492024fbbb8eab (diff) | |
download | scintilla-mirror-a545722ee49d59d4ff2a97174252d07d373e0a47.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; |