pidgin/plugins/perl/common/GtkIMHtml.xs

changeset 25122
56e73606e2b2
parent 25107
bd102c539600
parent 25112
4e9dba9e28e6
child 32295
5308ecfcf029
child 32438
dc8991868906
child 35992
34a67264df99
--- a/pidgin/plugins/perl/common/GtkIMHtml.xs	Thu Dec 11 22:33:06 2008 +0000
+++ b/pidgin/plugins/perl/common/GtkIMHtml.xs	Thu Dec 11 22:36:47 2008 +0000
@@ -171,7 +171,7 @@
 	int i, t_len;
 PPCODE:
 	t_GL = NULL;
-	t_len = av_len((AV *)SvRV(unused)) + 1;
+	t_len = av_len((AV *)SvRV(unused));
 
 	for (i = 0; i <= t_len; i++) {
 		STRLEN t_sl;

mercurial