mirror of
https://github.com/tmux/tmux.git
synced 2024-10-31 22:58:49 +00:00
Tweak a couple of log statements.
This commit is contained in:
parent
2e5c49a1fd
commit
cf7289662f
@ -990,13 +990,13 @@ cmd_find_target(struct cmd_find_state *fs, struct cmd_find_state *current,
|
|||||||
/* Find current state. */
|
/* Find current state. */
|
||||||
if (server_check_marked() && (flags & CMD_FIND_DEFAULT_MARKED)) {
|
if (server_check_marked() && (flags & CMD_FIND_DEFAULT_MARKED)) {
|
||||||
fs->current = &marked_pane;
|
fs->current = &marked_pane;
|
||||||
log_debug(" current is marked pane");
|
log_debug("%s: current is marked pane", __func__);
|
||||||
} else if (cmd_find_valid_state(&item->current)) {
|
} else if (cmd_find_valid_state(&item->current)) {
|
||||||
fs->current = &item->current;
|
fs->current = &item->current;
|
||||||
log_debug(" current is from queue");
|
log_debug("%s: current is from queue", __func__);
|
||||||
} else {
|
} else {
|
||||||
fs->current = current;
|
fs->current = current;
|
||||||
log_debug(" current is from argument");
|
log_debug("%s: current is from argument", __func__);
|
||||||
}
|
}
|
||||||
if (!cmd_find_empty_state(fs->current) &&
|
if (!cmd_find_empty_state(fs->current) &&
|
||||||
!cmd_find_valid_state(fs->current))
|
!cmd_find_valid_state(fs->current))
|
||||||
@ -1207,7 +1207,7 @@ current:
|
|||||||
|
|
||||||
error:
|
error:
|
||||||
fs->current = NULL;
|
fs->current = NULL;
|
||||||
log_debug(" error");
|
log_debug("%s: error", __func__);
|
||||||
|
|
||||||
free(copy);
|
free(copy);
|
||||||
return (-1);
|
return (-1);
|
||||||
|
Loading…
Reference in New Issue
Block a user