diff -r 4083860dd82e -r 9079931da6c3 branchobj.cpp --- a/branchobj.cpp Tue Jun 14 09:41:37 2005 +0000 +++ b/branchobj.cpp Wed Jul 27 18:56:32 2005 +0000 @@ -1091,15 +1091,14 @@ { // Find current parent and // remove pointer to myself there - if (!dst) return NULL; - BranchObj *par=(BranchObj*)(parObj); if (par) par->removeBranchPtr (this); else return NULL; + // Create new pointer to myself at dst if (pos<0||dst->getDepth()==0) { // links myself as last branch at dst