changeset 14570:a23083c0514d

[gaim-migrate @ 17294] These were getting in the way of some other things I was working on. Stupid svn. committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Sun, 17 Sep 2006 07:09:54 +0000
parents 7bf6f9102b77
children 9366a5873ebf
files gtk/plugins/perl/common/GtkIMHtml.xs
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)));