src/gedlib/charmaps.c
/*===============================================
 * show_xnodes -- DEBUG routine that shows XNODEs
 *=============================================*/
- DEBUG routine that shows XNODEs
- DEBUG routine that shows XNODEs
static void
show_xnodes (INT indent, XNODE node)
{
	INT i;
	if (!node) return;
	for (i = 0; i < indent; i++)
		llwprintf("%s", "  ");
	show_xnode(node);
	show_xnodes(indent+1, node->child);
	show_xnodes(indent,   node->sibling);
}
static void show_xnodes ( INT indent , XNODE node ) { INT i ; if ( ! node ) return ; for ( i = 0 ; i < indent ; i ++ ) llwprintf ( " " , " " ) ; show_xnode ( node ) ; show_xnodes ( indent + 1 , node -> child ) ; show_xnodes ( indent , node -> sibling ) ; }
show_xnodes -- DEBUG routine that shows XNODEs
show_xnodes -- DEBUG routine that shows XNODEs