diff options
author | Thomas Adam <thomas@xteddy.org> | 2016-10-17 00:01:11 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2016-10-17 00:01:11 +0100 |
commit | d54e990c4ffb576aa3d82306b970dc64bdd4cda6 (patch) | |
tree | 14657ab6804e8dcb4ee696afd823e19e46e0631f /cmd-find.c | |
parent | 1a6e696b08113ca17ee8e881844167cf94276846 (diff) | |
parent | fe106842c879c8f2d0419afba4f90ce0c62c5e80 (diff) | |
download | rtmux-d54e990c4ffb576aa3d82306b970dc64bdd4cda6.tar.gz rtmux-d54e990c4ffb576aa3d82306b970dc64bdd4cda6.tar.bz2 rtmux-d54e990c4ffb576aa3d82306b970dc64bdd4cda6.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-find.c')
-rw-r--r-- | cmd-find.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -227,7 +227,7 @@ cmd_find_best_winlink_with_window(struct cmd_find_state *fs) struct winlink *wl, *wl_loop; wl = NULL; - if (fs->s->curw->window == fs->w) + if (fs->s->curw != NULL && fs->s->curw->window == fs->w) wl = fs->s->curw; else { RB_FOREACH(wl_loop, winlinks, &fs->s->windows) { |