diff options
author | nicm <nicm> | 2016-10-16 22:06:40 +0000 |
---|---|---|
committer | nicm <nicm> | 2016-10-16 22:06:40 +0000 |
commit | 41e633acf5d08cbd8976771bd2b74f14abda3969 (patch) | |
tree | 70b43438375ebfaf1cddab734b1913658ade661b /cmd-find.c | |
parent | d15d54c2c8e6b95695169442eb2a27d814efc078 (diff) |
Use the notify name string instead of going via an enum and change
existing hooks to use notifys instead.
Diffstat (limited to 'cmd-find.c')
-rw-r--r-- | cmd-find.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -228,7 +228,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) { |