Minor fix

This commit is contained in:
Zachary Yedidia
2016-06-07 14:45:37 -04:00
parent f0faeb3a3e
commit f0b6725000

View File

@@ -115,7 +115,7 @@ func (l Loc) Move(n int, buf *Buffer) Loc {
}
return l
}
for i := 0; i < n; i++ {
for i := 0; i < Abs(n); i++ {
return l.left(buf)
}
return l