changeset 9186:a9f97d5258f8

[gaim-migrate @ 9981] This fixes bug 961911 Pasting HTML with images (from firefire) crashes It doesn't actually let you paste the images, just ignores the tags. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Sun, 06 Jun 2004 01:20:25 +0000
parents f2e75dd2971a
children d1b88a570f4d
files src/gtkimhtml.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkimhtml.c	Sat Jun 05 19:29:30 2004 +0000
+++ b/src/gtkimhtml.c	Sun Jun 06 01:20:25 2004 +0000
@@ -2197,7 +2197,8 @@
 							break;
 
 						id = gtk_imhtml_get_html_opt(tag, "ID=");
-
+						if (!id)
+							break;
 						gtk_imhtml_insert_image_at_iter(imhtml, atoi(id), iter);
 						break;
 					}