summaryrefslogtreecommitdiff
path: root/area.go
diff options
context:
space:
mode:
Diffstat (limited to 'area.go')
-rw-r--r--area.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/area.go b/area.go
index bbc85e5..7ea70e3 100644
--- a/area.go
+++ b/area.go
@@ -23,7 +23,8 @@ func findFB(button *ButtonMap) *ButtonMap {
func makeSplashArea(ah *AreaHandler) {
// make this button just to get the default font (but don't display the button)
// There should be another way to do this (?)
- newB := CreateFontButton("AREA")
+ wm := ah.WM
+ newB := CreateFontButton(wm, "AREA")
// ah.Attrstr = makeAttributedString()
ah.Area = ui.NewArea(ah)