From 5a24461b59b49f622283951e1891559f6323a42d Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 29 May 2019 11:07:14 -0700 Subject: fix crash Signed-off-by: Jeff Carr --- structs.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'structs.go') 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 -- cgit v1.2.3