Skip to content

Commit

Permalink
Fix erratum in part10
Browse files Browse the repository at this point in the history
  • Loading branch information
kodemartin committed Apr 16, 2019
1 parent a182bb7 commit b892e44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _parts/part10.md
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ with a new recursive function that takes any node, then prints it and its childr
+ child = *internal_node_child(node, i);
+ print_tree(pager, child, indentation_level + 1);
+
+ indent(indentation_level);
+ indent(indentation_level + 1);
+ printf("- key %d\n", *internal_node_key(node, i));
+ }
+ child = *internal_node_right_child(node);
Expand Down Expand Up @@ -420,7 +420,7 @@ Here's a test case for the new printing functionality!
+ " - 5",
+ " - 6",
+ " - 7",
+ "- key 7",
+ " - key 7",
+ " - leaf (size 7)",
+ " - 8",
+ " - 9",
Expand Down

0 comments on commit b892e44

Please sign in to comment.