From ebe60cca559844324c76ef01599157aeab76b069 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 27 Jan 2002 22:15:37 +0000 Subject: [PATCH] Scripts using Irssi::printformat() might have crashed irssi, especially if they cought in autolog. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2349 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/perl/ui/Themes.xs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/perl/ui/Themes.xs b/src/perl/ui/Themes.xs index 28507ac1..fc3165e9 100644 --- a/src/perl/ui/Themes.xs +++ b/src/perl/ui/Themes.xs @@ -17,7 +17,7 @@ void printformat_perl(TEXT_DEST_REC *dest, char *format, char **arglist) theme = dest->window->theme == NULL ? current_theme : dest->window->theme; signal_emit("print format", 5, theme, module, - &dest, GINT_TO_POINTER(formatnum), arglist); + dest, GINT_TO_POINTER(formatnum), arglist); str = format_get_text_theme_charargs(theme, module, dest, formatnum, arglist); if (*str != '\0') printtext_dest(dest, "%s", str);