Return to cmd-find.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.63, 2018/05/04 08:21:42 | version 1.64, 2018/05/09 07:50:03 | ||
---|---|---|---|
|
|
||
/* This will fill in winlink and window. */ | /* This will fill in winlink and window. */ | ||
if (cmd_find_get_window_with_session(fs, window) != 0) | if (cmd_find_get_window_with_session(fs, window) != 0) | ||
goto no_window; | goto no_window; | ||
fs->wp = fs->wl->window->active; | if (fs->wl != NULL) /* can be NULL if index only */ | ||
fs->wp = fs->wl->window->active; | |||
goto found; | goto found; | ||
} | } | ||