From f30e936d9a38c2357caa2a1575783e8b148db297 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Fri, 8 Sep 2023 10:55:04 -0600 Subject: [PATCH] app: [Windows] remove redundant call to SetWindowText And fix a typo while here. Signed-off-by: Elias Naur --- app/os_windows.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/os_windows.go b/app/os_windows.go index cc5ca2e5..f1c6156d 100644 --- a/app/os_windows.go +++ b/app/os_windows.go @@ -686,10 +686,9 @@ func (w *window) Configure(options []Option) { showMode = windows.SW_SHOWMAXIMIZED case Windowed: - windows.SetWindowText(w.hwnd, w.config.Title) style |= winStyle showMode = windows.SW_SHOWNORMAL - // Get target for client areaa size. + // Get target for client area size. width = int32(w.config.Size.X) height = int32(w.config.Size.Y) // Get the current window size and position.