diff options
| author | Pietro Gagliardi <[email protected]> | 2014-02-24 10:44:20 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-02-24 10:44:20 -0500 |
| commit | 1510af0005529659798e69fcd9c8f545ee0aa3e1 (patch) | |
| tree | 773b4d8dfbf4e9eecf0ba114b083beafe3039ab6 | |
| parent | 1c540117d362e8e2e66032769beb6f957addbd7a (diff) | |
Fixed some compiler errors in the last few commits.
| -rw-r--r-- | stack.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -42,7 +42,7 @@ func (s *Stack) SetStretchy(index int) { s.lock.Lock() defer s.lock.Unlock() - s[index] = true // TODO explicitly check for index out of bounds? + s.stretchy[index] = true // TODO explicitly check for index out of bounds? } func (s *Stack) make(window *sysData) error { @@ -94,7 +94,7 @@ func (s *Stack) setRect(x int, y int, width int, height int) error { stretchyht /= nStretchy } } - for i, c := range controls { + for i, c := range s.controls { if !s.stretchy[i] { continue } |
