Fix buffer name problem

Fixes #458
This commit is contained in:
Zachary Yedidia
2016-11-19 19:07:51 -05:00
parent c692570212
commit 0fbae7610c
7 changed files with 15 additions and 11 deletions

View File

@@ -231,7 +231,7 @@ func (s *SplitTree) ResizeSplits() {
}
func (l *LeafNode) String() string {
return l.view.Buf.Name
return l.view.Buf.GetName()
}
func search(haystack []Node, needle Node) int {