1010 |
else |
else |
1011 |
wprintw (ptr_win->win_status, "%s", |
wprintw (ptr_win->win_status, "%s", |
1012 |
CHANNEL(ptr_win->buffer)->name); |
CHANNEL(ptr_win->buffer)->name); |
1013 |
if (ptr_win->buffer == CHANNEL(ptr_win->buffer)->buffer) |
if ((ptr_win->buffer == CHANNEL(ptr_win->buffer)->buffer) |
1014 |
|
&& (CHANNEL(ptr_win->buffer)->type == CHAT_CHANNEL)) |
1015 |
{ |
{ |
1016 |
/* display channel modes */ |
/* display channel modes */ |
1017 |
|
gui_window_set_color (ptr_win->win_status, |
1018 |
|
COLOR_WIN_STATUS_DELIMITERS); |
1019 |
wprintw (ptr_win->win_status, "("); |
wprintw (ptr_win->win_status, "("); |
1020 |
|
gui_window_set_color (ptr_win->win_status, |
1021 |
|
COLOR_WIN_STATUS); |
1022 |
i = 0; |
i = 0; |
1023 |
first_mode = 1; |
first_mode = 1; |
1024 |
while (CHANNEL(ptr_win->buffer)->modes[i]) |
while (CHANNEL(ptr_win->buffer)->modes[i]) |
1041 |
if (CHANNEL(ptr_win->buffer)->modes[CHANNEL_MODE_LIMIT] != ' ') |
if (CHANNEL(ptr_win->buffer)->modes[CHANNEL_MODE_LIMIT] != ' ') |
1042 |
wprintw (ptr_win->win_status, ",%d", |
wprintw (ptr_win->win_status, ",%d", |
1043 |
CHANNEL(ptr_win->buffer)->limit); |
CHANNEL(ptr_win->buffer)->limit); |
1044 |
|
gui_window_set_color (ptr_win->win_status, |
1045 |
|
COLOR_WIN_STATUS_DELIMITERS); |
1046 |
wprintw (ptr_win->win_status, ")"); |
wprintw (ptr_win->win_status, ")"); |
1047 |
|
gui_window_set_color (ptr_win->win_status, |
1048 |
|
COLOR_WIN_STATUS); |
1049 |
} |
} |
1050 |
wprintw (ptr_win->win_status, " "); |
wprintw (ptr_win->win_status, " "); |
1051 |
} |
} |