Return to cmd-find.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.37, 2016/10/16 19:04:05 | version 1.38, 2016/10/16 22:06:40 | ||
---|---|---|---|
|
|
||
struct winlink *wl, *wl_loop; | struct winlink *wl, *wl_loop; | ||
wl = NULL; | wl = NULL; | ||
if (fs->s->curw->window == fs->w) | if (fs->s->curw != NULL && fs->s->curw->window == fs->w) | ||
wl = fs->s->curw; | wl = fs->s->curw; | ||
else { | else { | ||
RB_FOREACH(wl_loop, winlinks, &fs->s->windows) { | RB_FOREACH(wl_loop, winlinks, &fs->s->windows) { |