mirror of https://gitee.com/cxasm/notepad--.git
fix: Array \'keywordlists[0-1]\' accessed at index -1, which is out of bounds. 🐛
This commit is contained in:
parent
e7e187b125
commit
b2436a8ee8
|
@ -175,6 +175,9 @@ static void ColouriseMETAPOSTDoc(
|
|||
if (currentInterface != 0) {
|
||||
extraInterface = currentInterface ;
|
||||
}
|
||||
else {
|
||||
extraInterface = 1;
|
||||
}
|
||||
|
||||
WordList &keywords = *keywordlists[0] ;
|
||||
WordList &keywords2 = *keywordlists[extraInterface-1] ;
|
||||
|
|
Loading…
Reference in New Issue