mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
Fix typos
This commit is contained in:
parent
ae459b2377
commit
508cdb40a8
23 changed files with 30 additions and 30 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue