diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2007-12-17 17:07:08 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2007-12-17 17:07:08 +0100 |
commit | dba084f3d6a65ff8299c79b3867e28b57e50f1be (patch) | |
tree | 4b930f11254cc22148d7bd1b75eab83edcb1f063 /src/gui/gui-infobar.c | |
parent | e62ec5204c7061a83860fa6c6c8204414a2dd057 (diff) | |
download | weechat-dba084f3d6a65ff8299c79b3867e28b57e50f1be.zip |
New backlog option in logger plugin, added variable names in .h files, replaced "void *" pointers by structures
Diffstat (limited to 'src/gui/gui-infobar.c')
-rw-r--r-- | src/gui/gui-infobar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/gui-infobar.c b/src/gui/gui-infobar.c index 2f29dd5a8..97e82bae6 100644 --- a/src/gui/gui-infobar.c +++ b/src/gui/gui-infobar.c @@ -45,7 +45,7 @@ struct t_hook *gui_infobar_highlight_timer = NULL; /* highlight timer */ */ void -gui_infobar_printf (int time_displayed, int color, char *message, ...) +gui_infobar_printf (int delay, int color, char *message, ...) { static char buf[1024]; va_list argptr; @@ -70,7 +70,7 @@ gui_infobar_printf (int time_displayed, int color, char *message, ...) pos = strchr (ptr_infobar->text, '\n'); if (pos) pos[0] = '\0'; - ptr_infobar->remaining_time = (time_displayed <= 0) ? -1 : time_displayed; + ptr_infobar->remaining_time = (delay <= 0) ? -1 : delay; ptr_infobar->next_infobar = gui_infobar; gui_infobar = ptr_infobar; gui_infobar_draw (gui_current_window->buffer, 1); |