Cosmetic updates.
This commit is contained in:
parent
21c64dd60f
commit
3620be8dbc
@ -912,13 +912,13 @@ SGPropertyNode::getChildren (const char * name) const
|
||||
|
||||
|
||||
/**
|
||||
* Revove child by position.
|
||||
* Remove child by position.
|
||||
*/
|
||||
SGPropertyNode_ptr
|
||||
SGPropertyNode::removeChild (int pos, bool keep)
|
||||
{
|
||||
SGPropertyNode_ptr node;
|
||||
if (pos < 0 || pos > _children.size() - 1)
|
||||
if (pos < 0 || pos >= _children.size())
|
||||
return node;
|
||||
|
||||
vector<SGPropertyNode_ptr>::iterator it = _children.begin();
|
||||
|
@ -1,4 +1,4 @@
|
||||
// e mat.cxx -- class to handle material properties
|
||||
// mat.cxx -- class to handle material properties
|
||||
//
|
||||
// Written by Curtis Olson, started May 1998.
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user