Use pointer rather than index for the client's last session.

This commit is contained in:
Nicholas Marriott
2010-12-20 00:17:22 +00:00
parent a51dcdc430
commit 9358cfaf4a
5 changed files with 14 additions and 16 deletions

2
tmux.h
View File

@ -1155,7 +1155,7 @@ struct client {
struct mode_key_data prompt_mdata;
struct session *session;
u_int last_session;
struct session *last_session;
int references;
};