summaryrefslogtreecommitdiff
path: root/debug.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-01 15:43:50 -0600
committerJeff Carr <[email protected]>2024-01-01 15:43:50 -0600
commit4e7bbd89900a733593f0848778103c1cf1a7145d (patch)
tree22cd22124dd3ecba7c2a866b882d39aaf790d670 /debug.go
parent53ce3a8252090d5fb75d7fc1e3cd75a72c1415c6 (diff)
reorg to final resting place at go.wit.com/gui/guiv0.9.5
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'debug.go')
-rw-r--r--debug.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/debug.go b/debug.go
index d730df1..8a01cc1 100644
--- a/debug.go
+++ b/debug.go
@@ -5,7 +5,7 @@ package gui
import (
"strconv"
- "go.wit.com/gui/toolkit"
+ "go.wit.com/gui/gui/toolkit"
)
// various debugging flags
@@ -159,9 +159,9 @@ func (n *Node) ListChildren(dump bool) {
if (listChildrenParent != nil) {
log(debugNode, "\t\t\tlistChildrenParent =",listChildrenParent.id)
if (listChildrenParent.id != n.parent.id) {
- log("parent =",n.parent.id, n.parent.Name)
- log("listChildrenParent =",listChildrenParent.id, listChildrenParent.Name)
- log(listChildrenParent.id, "!=", n.parent.id)
+ log(true, "parent =",n.parent.id, n.parent.Name)
+ log(true, "listChildrenParent =",listChildrenParent.id, listChildrenParent.Name)
+ log(true, listChildrenParent.id, "!=", n.parent.id)
exit("parent.child does not match child.parent")
}
}