internal/uidriver/glfw: Rename variables

This commit is contained in:
Hajime Hoshi 2021-06-13 23:25:24 +09:00
parent bceb512e78
commit f989ce4e64

View File

@ -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()
}