Browse Source

tags/2021-05-28
jules 18 years ago
parent
commit
0c8fa1898e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/juce_core/text/juce_XmlElement.cpp

+ 1
- 1
src/juce_core/text/juce_XmlElement.cpp View File

@@ -830,7 +830,7 @@ void XmlElement::insertChildElement (XmlElement* const newNode,
XmlElement* child = firstChildElement;
while (child->nextElement != 0 && --indexToInsertAt >= 0)
while (child->nextElement != 0 && --indexToInsertAt > 0)
child = child->nextElement;
newNode->nextElement = child->nextElement;


Loading…
Cancel
Save