summaryrefslogtreecommitdiff
path: root/src/fe-text
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-04-17 21:02:41 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-04-17 21:02:41 +0000
commit970b49df1aef88dc5f57b0d4a865cf566ff31179 (patch)
tree2a257946b11ea21e36817737f055765fed406384 /src/fe-text
parent1ab2cfc1b1196306beac0e169c1b9c399b2bcdfa (diff)
downloadirssi-970b49df1aef88dc5f57b0d4a865cf566ff31179.zip
"gui print text" signal changed, last parameter is now TEXT_DEST_REC, not
level. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2694 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text')
-rw-r--r--src/fe-text/gui-printtext.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-text/gui-printtext.c b/src/fe-text/gui-printtext.c
index 429937a5..8509213e 100644
--- a/src/fe-text/gui-printtext.c
+++ b/src/fe-text/gui-printtext.c
@@ -231,7 +231,7 @@ static void view_add_eol(TEXT_BUFFER_VIEW_REC *view, LINE_REC **line)
static void sig_gui_print_text(WINDOW_REC *window, void *fgcolor,
void *bgcolor, void *pflags,
- char *str, void *level)
+ char *str, TEXT_DEST_REC *dest)
{
GUI_WINDOW_REC *gui;
TEXT_BUFFER_VIEW_REC *view;
@@ -259,7 +259,7 @@ static void sig_gui_print_text(WINDOW_REC *window, void *fgcolor,
return;
}
- lineinfo.level = GPOINTER_TO_INT(level);
+ lineinfo.level = GPOINTER_TO_INT(dest->level);
lineinfo.time = time(NULL);
gui = WINDOW_GUI(window);