summaryrefslogtreecommitdiff
path: root/src/perl
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-01-27 22:15:37 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-01-27 22:15:37 +0000
commitebe60cca559844324c76ef01599157aeab76b069 (patch)
tree50be47df8fddfd2959e85274edc29c42a0bb4a9a /src/perl
parentf4897860b50e2d1cc3b97a00d1f5a2e9e9c04faa (diff)
downloadirssi-ebe60cca559844324c76ef01599157aeab76b069.zip
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
Diffstat (limited to 'src/perl')
-rw-r--r--src/perl/ui/Themes.xs2
1 files changed, 1 insertions, 1 deletions
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);