Fix typos

This commit is contained in:
Nathan Baulch 2024-09-14 14:45:25 +10:00 committed by Jesse Duffield
parent ae459b2377
commit 508cdb40a8
23 changed files with 30 additions and 30 deletions

View file

@ -41,7 +41,7 @@ const (
func NewState(diff string, selectedLineIdx int, view *gocui.View, oldState *State) *State {
if oldState != nil && diff == oldState.diff && selectedLineIdx == -1 {
// if we're here then we can return the old state. If selectedLineIdx was not -1
// then that would mean we were trying to click and potentiall drag a range, which
// then that would mean we were trying to click and potentially drag a range, which
// is why in that case we continue below
return oldState
}