From e940b807ac72d6d441e48edd325580d70b595519 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Wed, 17 May 2017 14:09:12 +0000 Subject: [PATCH] Correct the times displayed in Wide Graph in WSPR-LF mode. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7684 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- plotter.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/plotter.cpp b/plotter.cpp index 14ac09e73..faf62a75e 100644 --- a/plotter.cpp +++ b/plotter.cpp @@ -97,7 +97,7 @@ void CPlotter::paintEvent(QPaintEvent *) // paint void CPlotter::draw(float swide[], bool bScroll, bool bRed) { int j,j0; - static int jtop=0,ktop=0; + static int ktop=0; float y,y2,ymin; double fac = sqrt(m_binsPerPixel*m_waterfallAvg/15.0); double gain = fac*pow(10.0,0.02*m_plotGain); @@ -193,7 +193,6 @@ void CPlotter::draw(float swide[], bool bScroll, bool bRed) painter2D.drawPolyline(LineBuf2,ktop); } } - jtop=j; LineBuf[j].setX(i); LineBuf[j].setY(int(0.9*m_h2-y2*m_h2/70.0)); if(y2