summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-03-11 12:24:48 -0400
committerPietro Gagliardi <[email protected]>2014-03-11 12:24:48 -0400
commit9a9a1d21bbd25b23cf40128937e1872e707dea0b (patch)
treea474007fbb6d05e0c451ffdfa7bb66597ef5e95b
parent2e99d1319a7119e202fa501e34ba286eb70ec907 (diff)
Fixed compiler errors in the past few commits.
-rw-r--r--grid.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/grid.go b/grid.go
index 8162cda..ed832fb 100644
--- a/grid.go
+++ b/grid.go
@@ -77,7 +77,7 @@ func (g *Grid) SetFilling(row int, column int) {
panic(fmt.Errorf("Grid.SetFilling() called after window create"))
}
if row < 0 || column < 0 || row > len(g,filling) || column > len(g.filling[row]) {
- panic(fmt.Errorf("coordinate (%d,%d) out of range passed to Grid.SetFilling()", row, column)
+ panic(fmt.Errorf("coordinate (%d,%d) out of range passed to Grid.SetFilling()", row, column))
}
g.filling[row][column] = true
}
@@ -95,7 +95,7 @@ func (g *Grid) SetStretchy(row int, column int) {
panic(fmt.Errorf("Grid.SetFilling() called after window create"))
}
if row < 0 || column < 0 || row > len(g,filling) || column > len(g.filling[row]) {
- panic(fmt.Errorf("coordinate (%d,%d) out of range passed to Grid.SetStretchy()", row, column)
+ panic(fmt.Errorf("coordinate (%d,%d) out of range passed to Grid.SetStretchy()", row, column))
}
g.stretchyrow = row
g.stretchycol = column