mirror of
https://github.com/tmux/tmux.git
synced 2025-01-05 23:38:48 +00:00
Merge branch 'obsd-master'
This commit is contained in:
commit
c8a706117f
@ -389,7 +389,7 @@ cmd_find_get_window_with_session(struct cmd_find_state *fs, const char *window)
|
||||
return (-1);
|
||||
fs->idx = s->curw->idx + n;
|
||||
} else {
|
||||
if (n < s->curw->idx)
|
||||
if (n > s->curw->idx)
|
||||
return (-1);
|
||||
fs->idx = s->curw->idx - n;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user