Skip to content

Commit

Permalink
Merge branch 'obsd-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasAdam committed Dec 18, 2015
2 parents e0cae08 + a337403 commit 2ad9caa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd-find.c
Expand Up @@ -930,10 +930,11 @@ cmd_find_target(struct cmd_find_state *fs, struct cmd_q *cmdq,
cmd_find_clear_state(fs, cmdq, flags);

/* Find current state. */
fs->current = NULL;
if (server_check_marked() && (flags & CMD_FIND_DEFAULT_MARKED))
fs->current = &marked_pane;
if (fs->current == NULL) {
else if (cmd_find_valid_state(&cmdq->current))
fs->current = &cmdq->current;
else {
cmd_find_clear_state(&current, cmdq, flags);
if (cmd_find_current_session(&current) != 0) {
if (~flags & CMD_FIND_QUIET)
Expand Down

0 comments on commit 2ad9caa

Please sign in to comment.