[evolution-patches] save fix for gtkthtml



Roy rankin sent a patch to the gtkhtml list pointing out a bug in the
save code.

--Larry


cvs diff -r 1.1868 -r 1.1869 ChangeLog
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/ChangeLog,v
retrieving revision 1.1868
retrieving revision 1.1869
diff -u -p -r1.1868 -r1.1869
--- ChangeLog	5 Sep 2003 20:12:56 -0000	1.1868
+++ ChangeLog	6 Sep 2003 15:04:50 -0000	1.1869
@@ -1,3 +1,8 @@
+2003-09-06  Larry Ewing  <lewing ximian com>
+
+	* htmltablecell.c (save): use the right tag when closing cells
+	(original patch by Roy Rankin).
+
 2003-09-05  Larry Ewing  <lewing ximian com>
 
 	* htmlengine.c (pop_element_by_type): add new pop element variant
cvs diff -r 1.92 -r 1.93 htmltablecell.c
Index: htmltablecell.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/htmltablecell.c,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -p -r1.92 -r1.93
--- htmltablecell.c	8 Jul 2003 16:19:42 -0000	1.92
+++ htmltablecell.c	6 Sep 2003 15:04:51 -0000	1.93
@@ -318,7 +318,7 @@ save (HTMLObject *self,
 	    && HTML_IS_CLUEFLOW (HTML_CLUE (self)->head) && html_clueflow_is_empty (HTML_CLUEFLOW (HTML_CLUE (self)->head)))
 	    SB "&nbsp;" SE; */
 
-	SB "</TD>\n" SE;
+	SB cell->heading ? "</TH>\n" : "</TD>\n" SE;
 
 	return TRUE;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]