From 54302f75a1ae0f8dfe4483a0ea132dc5273bc121 Mon Sep 17 00:00:00 2001 From: mahlzeit Date: Mon, 28 Jun 2004 17:35:20 +0000 Subject: [PATCH] Better centering of scope. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8223 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/midiplayer/ScopeView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/midiplayer/ScopeView.cpp b/src/apps/midiplayer/ScopeView.cpp index 95c49c67fc..47f9399f1d 100644 --- a/src/apps/midiplayer/ScopeView.cpp +++ b/src/apps/midiplayer/ScopeView.cpp @@ -220,7 +220,7 @@ void ScopeView::DrawPlaying() SetHighColor(255, 0, 130); SetLowColor(0, 130, 0); #define N 16 - int32 x, y, sx = 0, f = (height << N) / 65535, dy = height / 2; + int32 x, y, sx = 0, f = (height << N) / 65535, dy = height / 2 + 1; for (int32 i = 0; i < width; i++) { x = sx / width;