diff options
| author | Pietro Gagliardi <[email protected]> | 2014-05-11 11:11:00 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-05-11 11:11:57 -0400 |
| commit | 9ed8d9c816ead83225edf75b562c136e3ceafa45 (patch) | |
| tree | f8d93b26d6995cf6a1126b57b446426702e6acb2 /sysdata_windows.go | |
| parent | d0ac56c0fcbf12e69cb364058ed92254cef1d575 (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.go | 2 |
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) } |
