summaryrefslogtreecommitdiff
path: root/splash.go
diff options
context:
space:
mode:
Diffstat (limited to 'splash.go')
-rw-r--r--splash.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/splash.go b/splash.go
index 92f154d..397430e 100644
--- a/splash.go
+++ b/splash.go
@@ -23,12 +23,12 @@ func ShowSplashBox(wm *GuiWindow, newText *ui.AttributedString) *ui.Box {
newbox.SetPadded(true)
// initialize the GuiArea{}
- wm.AH = new(GuiArea)
- wm.AH.WM = wm
- wm.AH.UiAttrstr = newText
- makeSplashArea(wm, wm.AH)
+ wm.Area = new(GuiArea)
+ wm.Area.Window = wm
+ wm.Area.UiAttrstr = newText
+ makeSplashArea(wm, wm.Area)
- newbox.Append(wm.AH.UiArea, true)
+ newbox.Append(wm.Area.UiArea, true)
if runtime.GOOS == "linux" {
newbox.Append(ui.NewLabel("OS: Linux"), false)