summaryrefslogtreecommitdiff
path: root/nocui/widget.go
diff options
context:
space:
mode:
Diffstat (limited to 'nocui/widget.go')
-rw-r--r--nocui/widget.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/nocui/widget.go b/nocui/widget.go
index 989634d..c749c4b 100644
--- a/nocui/widget.go
+++ b/nocui/widget.go
@@ -1,6 +1,7 @@
package main
import (
+ "go.wit.com/log"
"go.wit.com/gui/widget"
)
@@ -11,7 +12,7 @@ func initWidget(n *node) *guiWidget {
// Set(w, "default")
if n.WidgetType == widget.Root {
- log(logInfo, "setupWidget() FOUND ROOT w.id =", n.WidgetId)
+ log.Log(INFO, "setupWidget() FOUND ROOT w.id =", n.WidgetId)
n.WidgetId = 0
me.rootNode = n
return w