1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

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
This commit is contained in:
Timo Sirainen 2002-01-27 22:15:37 +00:00 committed by cras
parent f4897860b5
commit ebe60cca55

View File

@ -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);