summaryrefslogtreecommitdiff
path: root/src/perl
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-07-18 19:03:07 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-07-18 19:03:07 +0000
commit40ffd87dedacaaf6fdc8a86314ed50e63777063d (patch)
tree5871030136924998639202a2f2680f58c0d0814d /src/perl
parent088358ca6166bbd663f7b1e390d09efcd72684fb (diff)
downloadirssi-40ffd87dedacaaf6fdc8a86314ed50e63777063d.zip
Irssi::printformat() called printformat_window() to print the text which
lost server/target information. Added printtext_dest() function which it uses now. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1642 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl')
-rw-r--r--src/perl/ui/UI.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/perl/ui/UI.xs b/src/perl/ui/UI.xs
index 846bbc8f..d427dd07 100644
--- a/src/perl/ui/UI.xs
+++ b/src/perl/ui/UI.xs
@@ -70,7 +70,7 @@ void printformat_perl(TEXT_DEST_REC *dest, char *format, char **arglist)
&dest, GINT_TO_POINTER(formatnum), arglist);
str = format_get_text_theme_charargs(theme, module, dest, formatnum, arglist);
- if (*str != '\0') printtext_window(dest->window, dest->level, "%s", str);
+ if (*str != '\0') printtext_dest(dest, "%s", str);
g_free(str);
g_free(module);
}