mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 21:00:40 +02:00
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:
parent
f877d934b3
commit
ff86916dc3
2 changed files with 25 additions and 3 deletions
|
|
@ -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')
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue