diff --git a/internal/ui/monitor_glfw.go b/internal/ui/monitor_glfw.go index a3580affe..3aa678321 100644 --- a/internal/ui/monitor_glfw.go +++ b/internal/ui/monitor_glfw.go @@ -81,7 +81,7 @@ func (m *monitors) append(ms []*Monitor) []*Monitor { func (m *monitors) primaryMonitor() *Monitor { if atomic.LoadInt32(&m.updateCalled) == 0 { - panic("ui: (*monitors).primaryMonitor must be called before (*monitors).append is called") + panic("ui: (*monitors).update must be called before (*monitors).primaryMonitor is called") } m.m.Lock()