Fix some formatting

This commit is contained in:
Zachary Yedidia
2019-12-29 22:02:14 -05:00
parent 9b03a3dc6d
commit 3b66a3364c
6 changed files with 40 additions and 43 deletions

View File

@@ -45,12 +45,12 @@ func (w *BufWindow) SetBuffer(b *buffer.Buffer) {
w.Buf = b
}
func (v *View) GetView() *View {
return v
func (w *BufWindow) GetView() *View {
return w.View
}
func (v *View) SetView(view *View) {
v = view
func (w *BufWindow) SetView(view *View) {
w.View = view
}
func (w *BufWindow) Resize(width, height int) {