diff --git a/PowerEditor/src/Parameters.cpp b/PowerEditor/src/Parameters.cpp index d51479cc..2371402a 100644 --- a/PowerEditor/src/Parameters.cpp +++ b/PowerEditor/src/Parameters.cpp @@ -2458,7 +2458,7 @@ void NppParameters::feedScintKeys(TiXmlNode *node) KeyCombo kc; for (TiXmlNode *nextNode = childNode->FirstChildElement(TEXT("NextKey")); nextNode ; - nextNode = childNode->NextSibling(TEXT("NextKey")) ) + nextNode = nextNode->NextSibling(TEXT("NextKey"))) { const TCHAR *str = (nextNode->ToElement())->Attribute(TEXT("Ctrl")); if (!str)