mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -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:
parent
f4897860b5
commit
ebe60cca55
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user