Re: [evolution-patches] Fix for Bug 263577 [gtkhtml]
- From: Rohini <srohini novell com>
- To: sragavan novell com
- Cc: evolution-patches gnome org
- Subject: Re: [evolution-patches] Fix for Bug 263577 [gtkhtml]
- Date: Mon, 16 Jan 2006 13:22:27 +0530
Ooopss :(
Attached patch for Bug #263577
On Mon, 2006-01-16 at 13:09 +0530, Srinivasa Ragavan wrote:
> You forgot to attach the patch.
>
> -Srini
> On Mon, 2006-01-16 at 11:40 +0530, Rohini wrote:
> > Hi
> >
> > Attached Fix for Bug 263577 – Mail is shown as empty when table
> > cellpadding < 0
> >
> > Please Review
> >
> > Thanks,
> > Rohini
> >
> >
> > _______________________________________________
> > Evolution-patches mailing list
> > Evolution-patches gnome org
> > http://mail.gnome.org/mailman/listinfo/evolution-patches
>
Index: htmlengine.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/htmlengine.c,v
retrieving revision 1.639
diff -u -p -r1.639 htmlengine.c
--- htmlengine.c 11 Sep 2005 04:05:25 -0000 1.639
+++ htmlengine.c 16 Jan 2006 05:56:54 -0000
@@ -3054,6 +3052,8 @@ element_parse_table (HTMLEngine *e, HTML
if (html_element_get_attr (element, "cellpadding", &value) && value)
padding = atoi (value);
+ if (padding < 0)
+ padding=0;
if (html_element_get_attr (element, "cellspacing", &value) && value)
spacing = atoi (value);
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/ChangeLog,v
retrieving revision 1.2151
diff -u -p -r1.2151 ChangeLog
--- ChangeLog 22 Oct 2005 10:25:26 -0000 1.2151
+++ ChangeLog 16 Jan 2006 06:04:23 -0000
@@ -1,3 +1,10 @@
+2006-01-16 Rohini S <srohini novell com>
+
+ * htmlengine.c (element_parse_table): Modified to reset padding value to
+ zero if nagative.
+
+ Fixes bug #263577
+
2005-10-22 Kaushal Kumar <kakumar novell com>
* htmlprinter.c (draw_border): Do not draw peripheral border since
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]