diff -r 4083860dd82e -r fd7f08a85971 branchobj.cpp --- a/branchobj.cpp Tue Jun 14 09:41:37 2005 +0000 +++ b/branchobj.cpp Sat Jul 23 10:26:29 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