Skip to content
Browse files

[monkeydoc] Fix reference recursion

  • Loading branch information...
1 parent 36e1835 commit 6bfd3ba49bf2fcaa9ddc4a7f4a1afd48ca2078ad @garuma garuma committed Dec 20, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 mcs/tools/monkeydoc/MonkeyDoc/Node.cs
View
4 mcs/tools/monkeydoc/MonkeyDoc/Node.cs
@@ -44,7 +44,7 @@ internal Node (Tree tree, string caption, string element)
/// <summary>
/// Creates a node from an on-disk representation
/// </summary>
- internal Node (Node parent, int address) : this (parent.tree, address)
+ internal Node (Node parent, int address) : this (parent.parentTree, address)
{
this.parent = parent;
}
@@ -130,7 +130,7 @@ void RegisterFullNode (Node child)
public Tree Tree {
get {
- return tree;
+ return parentTree;
}
}

0 comments on commit 6bfd3ba

Please sign in to comment.
Something went wrong with that request. Please try again.