fix feedScintKeys when more than two shortcuts are configured
Closes #3732, fixes #3720
This commit is contained in:
parent
505d2452d3
commit
2d1eee8b47
@ -2458,7 +2458,7 @@ void NppParameters::feedScintKeys(TiXmlNode *node)
|
|||||||
KeyCombo kc;
|
KeyCombo kc;
|
||||||
for (TiXmlNode *nextNode = childNode->FirstChildElement(TEXT("NextKey"));
|
for (TiXmlNode *nextNode = childNode->FirstChildElement(TEXT("NextKey"));
|
||||||
nextNode ;
|
nextNode ;
|
||||||
nextNode = childNode->NextSibling(TEXT("NextKey")) )
|
nextNode = nextNode->NextSibling(TEXT("NextKey")))
|
||||||
{
|
{
|
||||||
const TCHAR *str = (nextNode->ToElement())->Attribute(TEXT("Ctrl"));
|
const TCHAR *str = (nextNode->ToElement())->Attribute(TEXT("Ctrl"));
|
||||||
if (!str)
|
if (!str)
|
||||||
|
Loading…
Reference in New Issue
Block a user