aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spectrogram.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/spectrogram.c b/spectrogram.c
index 700a65a..ebaee92 100644
--- a/spectrogram.c
+++ b/spectrogram.c
@@ -165,10 +165,10 @@ draw(double *left, double *right, int p, int step)
sp_left.x, sp_left.y);
for (x = 0; x < wf_left.width; x++) {
- l = floor(left[x]);
+ l = left[x];
if (l > p)
l = p;
- r = floor(right[x]);
+ r = right[x];
if (r > p)
r = p;