aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2013-03-26 21:14:03 +0000
committerDimitri Sokolyuk <demon@dim13.org>2013-03-26 21:14:03 +0000
commit8c36bfb1551456ec41c9fe33ada85fbcbe718e2b (patch)
tree511ad115c50c42e42565f94ab716e855e1e97e12
parent14e635b943ce3098bc131f2a2e76e1d0c2f92a57 (diff)
fix dl height
-rw-r--r--spectrogram.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/spectrogram.c b/spectrogram.c
index 6393137..f6c316b 100644
--- a/spectrogram.c
+++ b/spectrogram.c
@@ -65,12 +65,12 @@ init_rect(int w, int h, int off, int ssz, int dlsz)
dl_lo.x = 0;
dl_lo.y = 0;
dl_lo.w = w / 3;
- dl_lo.h = dlsz - 1;
+ dl_lo.h = dlsz;
dl_mi.x = w / 3;
dl_mi.y = 0;
dl_mi.w = w / 3;
- dl_mi.h = dlsz - 1;
+ dl_mi.h = dlsz;
dl_hi.x = 2 * w / 3;
dl_hi.y = 0;