diff options
Diffstat (limited to 'node.go')
| -rw-r--r-- | node.go | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -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 } |
