Ctrl-X changes IRC server in stats/msgs/empty windows.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@312 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-06-10 19:16:25 +00:00 committed by cras
commit ff86916dc3
2 changed files with 25 additions and 3 deletions

View file

@ -225,7 +225,7 @@ static void statusbar_channel(SBAR_ITEM_REC *item, int ypos)
mode = NULL;
mode_size = 0;
size_needed = 3 + strlen(winnum) + (server == NULL ? 0 : strlen(server->tag));
size_needed = 3 + strlen(winnum) + (server == NULL ? 0 : (17+strlen(server->tag)));
}
else
{
@ -264,6 +264,7 @@ static void statusbar_channel(SBAR_ITEM_REC *item, int ypos)
{
/* server tag */
set_color((1 << 4)+7); addstr(server->tag);
addstr(" (change with ^X)");
}
else if (channame[0] != '\0')
{