Fix build

This commit is contained in:
Roi Martin 2015-02-03 17:15:41 +01:00
parent 9b25959056
commit 6279571a82
1 changed files with 2 additions and 8 deletions

10
view.go
View File

@ -25,8 +25,8 @@ type View struct {
readOffset int
readCache string
tainted bool // marks if the viewBuffer must be updated
viewBuffer []viewLine // internal representation of the view's buffer
tainted bool // marks if the viewBuffer must be updated
viewBuffer [][]rune // internal representation of the view's buffer
// BgColor and FgColor allow to configure the background and foreground
// colors of the View.
@ -60,12 +60,6 @@ type View struct {
Autoscroll bool
}
type viewLine struct {
lineX int
lineY int
line []rune
}
// newView returns a new View object.
func newView(name string, x0, y0, x1, y1 int) *View {
v := &View{