summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-12-29 09:24:06 -0600
committerJeff Carr <[email protected]>2023-12-29 09:24:06 -0600
commit4b0077cce106d638944ecd8a6d49ee23fae79dc4 (patch)
tree123d38cd74ec6650fcd912ea0c8ad6f9e143e6a1 /main.go
parent015847b28ee5dc5c7cfd29dfcbe14e3a2624569c (diff)
save 'universal' go-arg
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.go b/main.go
index 84a7d52..09b2bc1 100644
--- a/main.go
+++ b/main.go
@@ -123,9 +123,9 @@ func New() *Node {
// try to load andlabs, if that doesn't work, fall back to the console
func (n *Node) Default() *Node {
- if (GuiArg.Gui != "") {
- log(logError, "New.Default() try toolkit =", GuiArg.Gui)
- return n.LoadToolkit(GuiArg.Gui)
+ if (guiArg.Gui != "") {
+ log(logError, "New.Default() try toolkit =", guiArg.Gui)
+ return n.LoadToolkit(guiArg.Gui)
}
// if DISPLAY isn't set, return since gtk can't load
// TODO: figure out how to check what to do in macos and mswindows