summaryrefslogtreecommitdiff
path: root/stdwndclass_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'stdwndclass_windows.go')
-rw-r--r--stdwndclass_windows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdwndclass_windows.go b/stdwndclass_windows.go
index edf0149..1f860a5 100644
--- a/stdwndclass_windows.go
+++ b/stdwndclass_windows.go
@@ -53,7 +53,7 @@ func stdWndProc(s *sysData) func(hwnd _HWND, uMsg uint32, wParam _WPARAM, lParam
panic("GetClientRect failed: " + err.Error())
}
// top-left corner is (0,0) so no need for winheight
- s.doResize(int(r.Left), int(r.Top), int(r.Right), int(r.Bottom), 0)
+ s.doResize(int(r.left), int(r.top), int(r.right), int(r.bottom), 0)
// TODO use the Defer movement functions here?
}
return 0