summaryrefslogtreecommitdiffstats
path: root/kturtle/src/treenode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kturtle/src/treenode.cpp')
-rw-r--r--kturtle/src/treenode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kturtle/src/treenode.cpp b/kturtle/src/treenode.cpp
index 0b5619a5..0579af7e 100644
--- a/kturtle/src/treenode.cpp
+++ b/kturtle/src/treenode.cpp
@@ -248,7 +248,7 @@ void TreeNode::destroy(TreeNode* node)
for ( TreeNode::iterator i = node->begin(); i != node->end(); ++i )
{
destroy(*i);
- (*i)->clear(); //free children
+ (*i)->clear(); //free tqchildren
//delete ( *i ); //free mem
}
}