diff options
| author | Pietro Gagliardi <[email protected]> | 2014-10-15 13:30:35 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-10-15 13:30:35 -0400 |
| commit | 0e32aff30b87b7dc355c825949e6096ca90e7165 (patch) | |
| tree | b938553e097b6b5d084ecd2df2fa78bb8f1588de /newctrl/grid.go | |
| parent | 6b2dac42002cc09972106d75093e504fe33e7a9f (diff) | |
Fixed compiler errors.
Diffstat (limited to 'newctrl/grid.go')
| -rw-r--r-- | newctrl/grid.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/newctrl/grid.go b/newctrl/grid.go index 0400ec0..f8fd616 100644 --- a/newctrl/grid.go +++ b/newctrl/grid.go @@ -364,7 +364,6 @@ func (g *grid) resize(x int, y int, width int, height int, d *sizing) { // 8) and FINALLY we draw for _, ycol := range gg { - current = nil for _, i := range ycol { if i != -1 { // treat empty cells like spaces g.controls[i].control.resize( @@ -374,7 +373,7 @@ func (g *grid) resize(x int, y int, width int, height int, d *sizing) { } } - return allocations + return } func (g *grid) preferredSize(d *sizing) (width, height int) { |
