diff options
author | Thomas Adam <thomas@xteddy.org> | 2018-05-09 11:02:26 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2018-05-09 11:02:26 +0100 |
commit | 9e1093b7d7335cd42c0616b61f06d74fd6f7002b (patch) | |
tree | 65766e953b5473c07888c0df6890ed28d8ef09c9 /cmd-find.c | |
parent | b2a2c3a1e90756313b6709905f189934123f85ed (diff) | |
parent | f2029f9d9e12e65b9ac575136b70b90d8fef8b5b (diff) | |
download | rtmux-9e1093b7d7335cd42c0616b61f06d74fd6f7002b.tar.gz rtmux-9e1093b7d7335cd42c0616b61f06d74fd6f7002b.tar.bz2 rtmux-9e1093b7d7335cd42c0616b61f06d74fd6f7002b.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-find.c')
-rw-r--r-- | cmd-find.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1158,7 +1158,8 @@ cmd_find_target(struct cmd_find_state *fs, struct cmdq_item *item, /* This will fill in winlink and window. */ if (cmd_find_get_window_with_session(fs, window) != 0) 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; } |