summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-04-20 19:08:21 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-04-20 19:08:21 +0000
commit463d5fbd2f47f7a9412533da255c7de188b29ed1 (patch)
tree8ee89f5e51772fee6958107f51445ffb3883f3eb /src
parentcb4ce9f1b2ac599b1d12595ed4085023766a1f17 (diff)
downloadirssi-463d5fbd2f47f7a9412533da255c7de188b29ed1.zip
Irssi::printformat() didn't work
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1452 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/perl/common/Themes.xs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/perl/common/Themes.xs b/src/perl/common/Themes.xs
index 47654fce..1d905323 100644
--- a/src/perl/common/Themes.xs
+++ b/src/perl/common/Themes.xs
@@ -44,8 +44,8 @@ PREINIT:
CODE:
format_create_dest(&dest, NULL, NULL, level, NULL);
memset(arglist, 0, sizeof(arglist));
- for (n = 4; n < 4+MAX_FORMAT_PARAMS; n++) {
- arglist[n-4] = n < items ? SvPV(ST(n), PL_na) : "";
+ for (n = 2; n < 2+MAX_FORMAT_PARAMS; n++) {
+ arglist[n-2] = n < items ? SvPV(ST(n), PL_na) : "";
}
printformat_perl(&dest, format, arglist);