Actually use the custom print function in prick_bnode_print for value
This commit is contained in:
@@ -176,7 +176,7 @@ void prick_bnode_print(FILE *fp, prick_print_fn print, prick_bnode_t *root)
|
|||||||
if (!root)
|
if (!root)
|
||||||
return;
|
return;
|
||||||
fprintf(fp, "(");
|
fprintf(fp, "(");
|
||||||
print(fp, root->value);
|
print(root->value);
|
||||||
if (root->left)
|
if (root->left)
|
||||||
{
|
{
|
||||||
fprintf(fp, " l");
|
fprintf(fp, " l");
|
||||||
|
|||||||
Reference in New Issue
Block a user