From 93a2d2613c0362b3c8488ce0b46ec700b0f52ab2 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Thu, 13 Jun 2013 22:03:40 +0000 Subject: spaces --- spectrogram.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spectrogram.c b/spectrogram.c index 1b514ba..516f899 100644 --- a/spectrogram.c +++ b/spectrogram.c @@ -159,6 +159,7 @@ createbg(struct data *data) sp_left.x + sp_left.width - 1, sp_left.y + sp_left.height - y - 1); } + XCopyArea(dsp, bg, bg, gc, sp_left.x, sp_left.y, sp_left.width, sp_left.height, sp_right.x, sp_right.y); @@ -180,6 +181,7 @@ draw(struct data *data) XCopyArea(dsp, bg, pix, gc, sp_left.x, sp_left.y, width, sp_left.height, sp_left.x, sp_left.y); + for (x = 0; x < wf_left.width; x++) { l = LIMIT(data->left[x], data->maxval); r = LIMIT(data->right[x], data->maxval); -- cgit v1.2.3