mirror of
https://github.com/tmux/tmux.git
synced 2024-11-17 18:08:51 +00:00
Pick newest session as documented, not oldest, from Magnus Gross.
This commit is contained in:
parent
6207a45139
commit
a28175dbfd
@ -410,7 +410,7 @@ server_find_session(struct session *s,
|
||||
static int
|
||||
server_newer_session(struct session *s_loop, struct session *s_out)
|
||||
{
|
||||
return (timercmp(&s_loop->activity_time, &s_out->activity_time, <));
|
||||
return (timercmp(&s_loop->activity_time, &s_out->activity_time, >));
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user