mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
statusbar is now also updated for connecting-servers.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2922 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
a83366069f
commit
3dda9ab2df
3 changed files with 15 additions and 5 deletions
|
|
@ -253,10 +253,11 @@ static int data_is_empty(const char **data)
|
|||
{
|
||||
/* since we don't know the real argument list, assume there's always
|
||||
an argument in them */
|
||||
char *arglist[] = {
|
||||
static char *arglist[] = {
|
||||
"x", "x", "x", "x", "x", "x","x", "x", "x", "x",
|
||||
NULL
|
||||
};
|
||||
SERVER_REC *server;
|
||||
const char *p;
|
||||
char *ret;
|
||||
int free_ret, empty;
|
||||
|
|
@ -277,8 +278,12 @@ static int data_is_empty(const char **data)
|
|||
|
||||
/* variable - check if it's empty */
|
||||
p++;
|
||||
ret = parse_special((char **) &p,
|
||||
active_win == NULL ? NULL : active_win->active_server,
|
||||
|
||||
server = active_win == NULL ? NULL :
|
||||
active_win->active_server != NULL ?
|
||||
active_win->active_server : active_win->connect_server;
|
||||
|
||||
ret = parse_special((char **) &p, server,
|
||||
active_win == NULL ? NULL : active_win->active,
|
||||
arglist, &free_ret, NULL, 0);
|
||||
p++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue