version 1.9, 2009/11/13 19:53:28 |
version 1.10, 2010/12/19 22:35:54 |
|
|
struct winlink *wl; |
struct winlink *wl; |
struct session *s; |
struct session *s; |
struct session_group *sg; |
struct session_group *sg; |
u_int i, idx, cur; |
u_int i, idx, sgidx, cur; |
char tmp[64]; |
char tmp[64]; |
|
|
if (ctx->curclient == NULL) { |
if (ctx->curclient == NULL) { |
|
|
if (sg == NULL) |
if (sg == NULL) |
*tmp = '\0'; |
*tmp = '\0'; |
else { |
else { |
idx = session_group_index(sg); |
sgidx = session_group_index(sg); |
xsnprintf(tmp, sizeof tmp, " (group %u)", idx); |
xsnprintf(tmp, sizeof tmp, " (group %u)", sgidx); |
} |
} |
|
|
window_choose_add(wl->window->active, i, |
window_choose_add(wl->window->active, i, |