diff --git a/qscint/scintilla/lexers/LexMetapost.cpp b/qscint/scintilla/lexers/LexMetapost.cpp index 315a1ea..5d067fc 100755 --- a/qscint/scintilla/lexers/LexMetapost.cpp +++ b/qscint/scintilla/lexers/LexMetapost.cpp @@ -175,6 +175,9 @@ static void ColouriseMETAPOSTDoc( if (currentInterface != 0) { extraInterface = currentInterface ; } + else { + extraInterface = 1; + } WordList &keywords = *keywordlists[0] ; WordList &keywords2 = *keywordlists[extraInterface-1] ;