# HG changeset patch # User Etan Reisner # Date 1158476994 0 # Node ID a23083c0514d07d8c2c3deeeb64a6aecf4269dae # Parent 7bf6f9102b774edec775a8851f3787cec4e73747 [gaim-migrate @ 17294] These were getting in the way of some other things I was working on. Stupid svn. committer: Tailor Script diff -r 7bf6f9102b77 -r a23083c0514d gtk/plugins/perl/common/GtkIMHtml.xs --- a/gtk/plugins/perl/common/GtkIMHtml.xs Sun Sep 17 06:30:12 2006 +0000 +++ b/gtk/plugins/perl/common/GtkIMHtml.xs Sun Sep 17 07:09:54 2006 +0000 @@ -307,7 +307,7 @@ gtk_imhtml_get_markup(imhtml) Gaim::GtkUI::IMHtml imhtml -# ETAN Test this, and document well that it returns an arrayref +# /* ETAN Test this, and document well that it returns an arrayref */ void gtk_imhtml_get_markup_lines(imhtml) Gaim::GtkUI::IMHtml imhtml @@ -318,7 +318,7 @@ PPCODE: bufs = gtk_imhtml_get_markup_lines(imhtml); lines = newAV(); - for (i = 0; bufs[i]; i++) { + for (i = 0; bufs[i] != NULL; i++) { av_push(lines, newSVpv(bufs[i], 0)); } XPUSHs(sv_2mortal(newRV_noinc((SV *)lines)));