mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
typofix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2001 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
7481fe606f
commit
4437ac855a
@ -98,7 +98,7 @@ CODE:
|
|||||||
av = (AV *) SvRV(formats);
|
av = (AV *) SvRV(formats);
|
||||||
len = av_len(av)+1;
|
len = av_len(av)+1;
|
||||||
if (len == 0 || (len & 1) != 0)
|
if (len == 0 || (len & 1) != 0)
|
||||||
croak("formats list is invalid - not dividable by 3 (%d)", len);
|
croak("formats list is invalid - not divisible by 2 (%d)", len);
|
||||||
|
|
||||||
formatrecs = g_new0(FORMAT_REC, len/2+2);
|
formatrecs = g_new0(FORMAT_REC, len/2+2);
|
||||||
formatrecs[0].tag = g_strdup(perl_get_package());
|
formatrecs[0].tag = g_strdup(perl_get_package());
|
||||||
|
Loading…
Reference in New Issue
Block a user