From 14e635b943ce3098bc131f2a2e76e1d0c2f92a57 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Tue, 26 Mar 2013 21:11:05 +0000 Subject: remove constant, make discolight bigger --- spectrogram.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spectrogram.c b/spectrogram.c index 2db9cd9..6393137 100644 --- a/spectrogram.c +++ b/spectrogram.c @@ -302,7 +302,7 @@ main(int argc, char **argv) psize = 2 * height / 3; ssize = psize >> 2; - init_rect(width, height, 1, ssize, !!discolight * 30); + init_rect(width, height, 1, ssize, !!discolight * ssize); sp = init_palette(0.30, 0.00, 0.50, 1.00, 0.75, 1.00, ssize, 0); wf = init_palette(0.65, 0.30, 1.00, 0.00, 0.00, 1.00, ssize, 1); @@ -360,7 +360,7 @@ main(int argc, char **argv) if (!pressed) discolight ^= 1; init_rect(width, height, 1, ssize, - !!discolight * 30); + !!discolight * ssize); break; default: break; -- cgit v1.2.3