1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2001 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-11-14 12:33:45 +00:00 committed by cras
parent 7481fe606f
commit 4437ac855a

View File

@ -98,7 +98,7 @@ CODE:
av = (AV *) SvRV(formats);
len = av_len(av)+1;
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[0].tag = g_strdup(perl_get_package());