From a545722ee49d59d4ff2a97174252d07d373e0a47 Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 29 Jul 2014 08:56:48 +1000 Subject: Fixing previous change for mako to be type-safe. --- lexers/LexHTML.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lexers/LexHTML.cxx') 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; -- cgit v1.2.3