summaryrefslogtreecommitdiff
path: root/node.go
diff options
context:
space:
mode:
Diffstat (limited to 'node.go')
-rw-r--r--node.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/node.go b/node.go
index 0cfec19..f9b35a9 100644
--- a/node.go
+++ b/node.go
@@ -24,10 +24,10 @@ func addNode(title string) *Node {
n := new(Node)
n.Name = title
n.Text = title
- n.id = Config.counter
+ n.id = me.counter
log(debugNode, "addNode = widget setid =", n.id)
- Config.counter += 1
+ me.counter += 1
return n
}