allow dnParent to work in place

This commit is contained in:
Pierangelo Masarati 2005-03-30 20:18:11 +00:00
parent 22bc85dc77
commit 61bb4bb630

View File

@ -1118,8 +1118,8 @@ dnParent(
p++;
assert( ATTR_LEADCHAR( p[ 0 ] ) );
pdn->bv_val = p;
pdn->bv_len = dn->bv_len - (p - dn->bv_val);
pdn->bv_val = p;
return;
}