mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05:00
Irssi::printformat() didn't work
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1452 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
cb4ce9f1b2
commit
463d5fbd2f
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user