From 47fa7064e2746e6b0a0ea267d5aaaa210a472753 Mon Sep 17 00:00:00 2001 From: "Emden R. Gansner" Date: Fri, 23 May 2014 12:12:04 -0400 Subject: [PATCH] Fix bug 2458 --- lib/common/htmltable.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/common/htmltable.c b/lib/common/htmltable.c index 86e5d3562..3a1b31312 100644 --- a/lib/common/htmltable.c +++ b/lib/common/htmltable.c @@ -213,7 +213,7 @@ static void doSide(GVJ_t * job, pointf p, double wd, double ht) /* mkPts: * Convert boxf into four corner points * If border is > 1, inset the points by half the border. - * It is assume AF is pointf[4], so the data is store there + * It is assumed AF is pointf[4], so the data is store there * and AF is returned. */ static pointf *mkPts(pointf * AF, boxf b, int border) @@ -243,7 +243,7 @@ static pointf *mkPts(pointf * AF, boxf b, int border) */ static void doBorder(GVJ_t * job, htmldata_t * dp, boxf b) { - pointf AF[6]; + pointf AF[7]; char *sptr[2]; char *color = (dp->pencolor ? dp->pencolor : DEFAULT_COLOR); unsigned short sides; @@ -263,7 +263,7 @@ static void doBorder(GVJ_t * job, htmldata_t * dp, boxf b) if (dp->style & ROUNDED) round_corners(job, mkPts(AF, b, dp->border), 4, ROUNDED, 0); else if ((sides = (dp->flags & BORDER_MASK))) { - mkPts (AF+1, b, dp->border); /* AF[1-4] has LL=SW,SW,UR=NE,NW */ + mkPts (AF+1, b, dp->border); /* AF[1-4] has LL=SW,SE,UR=NE,NW */ switch (sides) { case BORDER_BOTTOM : gvrender_polyline(job, AF+1, 2); -- 2.40.0