Skip to content

Commit

Permalink
Fix Editor.nextHistory.
Browse files Browse the repository at this point in the history
This fixes #286.
  • Loading branch information
xiaq committed Oct 22, 2016
1 parent 590c584 commit 05069da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edit/history.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func (ed *Editor) nextHistory() bool {
if ed.store == nil {
return false
}
i := ed.hist.current + 1
i := ed.hist.current
var line string
for {
var err error
Expand Down

0 comments on commit 05069da

Please sign in to comment.