src/gedlib/spltjoin.c
/*==================================================
 * normalize_rec -- ensure nodes are in lifelines order
 * for any record
 *================================================*/
- ensure nodes are in lifelines order
for any record
- ensure nodes are in lifelines order for any record
void
normalize_rec (RECORD irec)
{
	NODE root = nztop(irec);
	if (!root) return;
	if (eqstr(ntag(root), "INDI"))
		normalize_indi(root);
	else if (eqstr(ntag(root), "FAM"))
		normalize_fam(root);
}
void normalize_rec ( RECORD irec ) { NODE root = nztop ( irec ) ; if ( ! root ) return ; if ( eqstr ( ntag ( root ) , " " ) ) normalize_indi ( root ) ; else if ( eqstr ( ntag ( root ) , " " ) ) normalize_fam ( root ) ; }
normalize_rec -- ensure nodes are in lifelines order
 for any record
normalize_rec -- ensure nodes are in lifelines order for any record