diff --git a/sdrbase/gui/glscope.cpp b/sdrbase/gui/glscope.cpp index 172657d7c..25898eb62 100644 --- a/sdrbase/gui/glscope.cpp +++ b/sdrbase/gui/glscope.cpp @@ -1839,7 +1839,7 @@ void GLScope::applyConfig() m_glRight1ScaleMatrix.setToIdentity(); m_glRight1ScaleMatrix.translate ( - -1.0f + ((float) (2*width() - leftMargin) / (float) width()), + -1.0f + ((float) 2*(width() - leftMargin) / (float) width()), 1.0f - ((float) 2*topMargin / (float) height()) ); m_glRight1ScaleMatrix.scale (