From 64e15583a967d59e307df968feb3c8aac9303ba1 Mon Sep 17 00:00:00 2001 From: Oliver Bock <oliver@Bruce-Allens-Computer.local> Date: Mon, 6 Oct 2008 16:04:28 +0200 Subject: [PATCH] Fixed power spectrum x-axis alignment/length --- src/starsphere/StarsphereRadio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/starsphere/StarsphereRadio.cpp b/src/starsphere/StarsphereRadio.cpp index 4c4162d..2df0459 100644 --- a/src/starsphere/StarsphereRadio.cpp +++ b/src/starsphere/StarsphereRadio.cpp @@ -235,7 +235,7 @@ void StarsphereRadio::generatePowerSpectrumCoordSystem(const int originX, const glColor4f(1.0, 1.0, 0.0, 1.0); glVertex2f(offsetX, offsetY + m_PowerSpectrumHeight); glVertex2f(offsetX, offsetY); - glVertex2f(offsetX + m_PowerSpectrumWidth, offsetY); + glVertex2f(offsetX + m_PowerSpectrumWidth + 1, offsetY); glEnd(); glPointSize(m_PowerSpectrumAxesWidth); -- GitLab