Index: src/ChangeLog
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/ChangeLog,v
retrieving revision 1.2153
diff -u -r1.2153 ChangeLog
--- src/ChangeLog	16 Jan 2006 06:25:21 -0000	1.2153
+++ src/ChangeLog	23 Jan 2006 12:03:07 -0000
@@ -1,3 +1,10 @@
+2006-01-23  Irene Huang <Irene.Huang@sun.com>
+
+	Fixes bug #328270
+
+	* htmlclue.c: (op_helper): Change if ((o == NULL) 
+	&& (last == NULL)) to if ((o == NULL) || (last == NULL))
+
 2006-01-16  Srinivasa Ragavan  <sragavan@novell.com>
 
 	** Fixes bug #256142 (Committing Rohini's patch)
Index: src/htmlclue.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/htmlclue.c,v
retrieving revision 1.108
diff -u -r1.108 htmlclue.c
--- src/htmlclue.c	11 Mar 2005 15:16:10 -0000	1.108
+++ src/htmlclue.c	23 Jan 2006 12:03:08 -0000
@@ -142,7 +142,7 @@
 	o    = (from) ? HTML_OBJECT (from->data) : clue->head;
 	last = (to)   ? HTML_OBJECT (to->data)   : clue->tail;
 
-	if ((o == NULL) && (last == NULL))
+	if ((o == NULL) || (last == NULL))
 		return cc;
 
 	if (HTML_IS_TEXT_SLAVE (last))
