summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-05-29 11:07:14 -0700
committerJeff Carr <[email protected]>2019-05-29 11:07:14 -0700
commit5a24461b59b49f622283951e1891559f6323a42d (patch)
tree07724389e4e73f86657ff5364e9047c3ab8b205d /structs.go
parentbe2a69804a5b8823d450ec5a478766c3d8f4acac (diff)
fix crash
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/structs.go b/structs.go
index d2d85fb..6b0ee3c 100644
--- a/structs.go
+++ b/structs.go
@@ -13,7 +13,7 @@ import pb "git.wit.com/wit/witProtobuf"
// be the safe way to interact with the GUI
//
var Data GuiDataStructure
-var myAH AreaHandler
+var myAH *AreaHandler
type GuiDataStructure struct {
State string
@@ -119,7 +119,7 @@ type AreaHandler struct{
Attrstr *ui.AttributedString
Area *ui.Area
FontButton *ui.FontButton
- FB func () *ButtonMap
+// FB func () *ButtonMap
}
// AREA STRUCTURES END