mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
app: [Windows] remove redundant call to SetWindowText
And fix a typo while here. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+1
-2
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user