From ed951e0234d428298bd6b76b07e371ce2ab3cb60 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 11 Jan 2024 19:32:40 -0600 Subject: var value any Signed-off-by: Jeff Carr --- debug.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'debug.go') diff --git a/debug.go b/debug.go index 2d32fa7..35b73b7 100644 --- a/debug.go +++ b/debug.go @@ -21,7 +21,7 @@ func (n *Node) Dump() { b := true Indent(b, "NODE DUMP START") Indent(b, "id = ", n.id) - Indent(b, "Name = ", n.Name) + Indent(b, "progname = ", n.progname) Indent(b, "(X,Y) = ", n.X, n.Y) Indent(b, "Next (W,H) = ", n.NextW, n.NextH) @@ -57,7 +57,7 @@ func (n *Node) dumpWidget(b bool) string { } info = n.WidgetType.String() - d = strconv.Itoa(n.id) + " " + info + " " + n.Name + d = strconv.Itoa(n.id) + " " + info + " " + n.progname var tabs string for i := 0; i < listChildrenDepth; i++ { @@ -86,8 +86,8 @@ func (n *Node) ListChildren(dump bool) { if (listChildrenParent != nil) { log.Log(NODE, "\t\t\tlistChildrenParent =",listChildrenParent.id) if (listChildrenParent.id != n.parent.id) { - log.Log(NOW, "parent =",n.parent.id, n.parent.Name) - log.Log(NOW, "listChildrenParent =",listChildrenParent.id, listChildrenParent.Name) + log.Log(NOW, "parent =",n.parent.id, n.parent.progname) + log.Log(NOW, "listChildrenParent =",listChildrenParent.id, listChildrenParent.progname) log.Log(NOW, listChildrenParent.id, "!=", n.parent.id) log.Exit("parent.child does not match child.parent") } -- cgit v1.2.3