From f989ce4e645622b6bd5786f8b303f94fa5623cda Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 13 Jun 2021 23:25:24 +0900 Subject: [PATCH] internal/uidriver/glfw: Rename variables --- internal/uidriver/glfw/ui.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/uidriver/glfw/ui.go b/internal/uidriver/glfw/ui.go index d374ce016..72dc70a6b 100644 --- a/internal/uidriver/glfw/ui.go +++ b/internal/uidriver/glfw/ui.go @@ -465,14 +465,14 @@ func (u *UserInterface) setInitWindowFloating(floating bool) { func (u *UserInterface) isInitWindowMaximized() bool { u.m.Lock() - f := u.initWindowMaximized + m := u.initWindowMaximized u.m.Unlock() - return f + return m } -func (u *UserInterface) setInitWindowMaximized(floating bool) { +func (u *UserInterface) setInitWindowMaximized(maximized bool) { u.m.Lock() - u.initWindowMaximized = floating + u.initWindowMaximized = maximized u.m.Unlock() }