summaryrefslogtreecommitdiff
path: root/node.go
diff options
context:
space:
mode:
Diffstat (limited to 'node.go')
-rw-r--r--node.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/node.go b/node.go
index 2c63c74..d1b172a 100644
--- a/node.go
+++ b/node.go
@@ -28,13 +28,6 @@ func addNode(title string, w int, h int) *Node {
id := Config.prefix + strconv.Itoa(Config.counter)
Config.counter += 1
n.id = id
- /*
- if (Data.NodeMap[title] != nil) {
- panic(fmt.Sprintf("Duplicate window name = %s\n", title))
- } else {
- Data.NodeMap[title] = &n
- }
- */
return &n
}