summaryrefslogtreecommitdiff
path: root/sysdata_windows.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-05-11 11:11:00 -0400
committerPietro Gagliardi <[email protected]>2014-05-11 11:11:57 -0400
commit9ed8d9c816ead83225edf75b562c136e3ceafa45 (patch)
treef8d93b26d6995cf6a1126b57b446426702e6acb2 /sysdata_windows.go
parentd0ac56c0fcbf12e69cb364058ed92254cef1d575 (diff)
Consistency change: all Windows API structure field names now match case-wise (some were forcibly exported in the past for historical reasons: I originally started package ui by trying to write a Windows API wrapper, but decided to ditch that and just use the Windows API directly from package ui). Also more TODOs.
Diffstat (limited to 'sysdata_windows.go')
-rw-r--r--sysdata_windows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdata_windows.go b/sysdata_windows.go
index ba87edb..bba0015 100644
--- a/sysdata_windows.go
+++ b/sysdata_windows.go
@@ -503,7 +503,7 @@ func (s *sysData) setWindowSize(width int, height int) error {
return fmt.Errorf("error getting upper-left of window for resize: %v", r.err)
}
// 0 because (0,0) is top-left so no winheight
- err := s.setRect(int(rect.Left), int(rect.Top), width, height, 0)
+ err := s.setRect(int(rect.left), int(rect.top), width, height, 0)
if err != nil {
return fmt.Errorf("error actually resizing window: %v", err)
}