From 87e0892ac574d3be8f304513aecdb58670670fdd Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Mon, 5 Dec 2011 00:45:36 +1000 Subject: [PATCH] Line corruption fix for SummaryChart --- Graphs/gSummaryChart.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Graphs/gSummaryChart.cpp b/Graphs/gSummaryChart.cpp index 779cadb5..67ea29c5 100644 --- a/Graphs/gSummaryChart.cpp +++ b/Graphs/gSummaryChart.cpp @@ -373,7 +373,7 @@ void SummaryChart::paint(gGraph & w,int left, int top, int width, int height) quads->add(x1,py,x1,py-h,col); quads->add(x2,py-h,x2,py,col2); - if (barw>2) { + if (h>0 && barw>2) { outlines->add(x1,py,x1,py-h,x1,py-h,x2,py-h,blk); outlines->add(x1,py,x2,py,x2,py,x2,py-h,blk); } // if (bar