From d45c07eb6a0955a24efec7bd915ba19746042778 Mon Sep 17 00:00:00 2001 From: Tim Culverhouse Date: Sun, 3 Jul 2022 10:11:12 -0500 Subject: uiconfig: use pointer references to uiConfig This patch changes references to uiConfig in function signatures and structs to be pointers. Signed-off-by: Tim Culverhouse Acked-by: Robin Jarry --- lib/ui/borders.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/ui/borders.go') diff --git a/lib/ui/borders.go b/lib/ui/borders.go index 886a171b..6a5e9dc9 100644 --- a/lib/ui/borders.go +++ b/lib/ui/borders.go @@ -18,11 +18,11 @@ type Bordered struct { borders uint content Drawable onInvalidate func(d Drawable) - uiConfig config.UIConfig + uiConfig *config.UIConfig } func NewBordered( - content Drawable, borders uint, uiConfig config.UIConfig) *Bordered { + content Drawable, borders uint, uiConfig *config.UIConfig) *Bordered { b := &Bordered{ borders: borders, content: content, -- cgit