From 6e7fc1249c465ecd0b56af44a01cf7ea3cbaaa11 Mon Sep 17 00:00:00 2001 From: jules Date: Tue, 27 Oct 2015 09:48:07 +0000 Subject: [PATCH] Fixed a spelling mistake --- modules/juce_data_structures/values/juce_ValueTree.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/juce_data_structures/values/juce_ValueTree.h b/modules/juce_data_structures/values/juce_ValueTree.h index 92c9fd6082..c65a08150a 100644 --- a/modules/juce_data_structures/values/juce_ValueTree.h +++ b/modules/juce_data_structures/values/juce_ValueTree.h @@ -226,14 +226,14 @@ public: */ ValueTree getChild (int index) const; - /** Returns the first child node with the speficied type name. + /** Returns the first child node with the specified type name. If no such node is found, it'll return an invalid node. (See isValid() to find out whether a node is valid). @see getOrCreateChildWithName */ ValueTree getChildWithName (const Identifier& type) const; - /** Returns the first child node with the speficied type name, creating and adding + /** Returns the first child node with the specified type name, creating and adding a child with this name if there wasn't already one there. The only time this will return an invalid object is when the object that you're calling @@ -242,7 +242,7 @@ public: */ ValueTree getOrCreateChildWithName (const Identifier& type, UndoManager* undoManager); - /** Looks for the first child node that has the speficied property value. + /** Looks for the first child node that has the specified property value. This will scan the child nodes in order, until it finds one that has property that matches the specified value.