aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2013-06-13 22:03:40 +0000
committerDimitri Sokolyuk <demon@dim13.org>2013-06-13 22:03:40 +0000
commit93a2d2613c0362b3c8488ce0b46ec700b0f52ab2 (patch)
tree852794e1be5b84badbf04b53fa77f8ac2b246bae
parenta6223a76f161033558b401935cf00cc28e877fda (diff)
spaces
-rw-r--r--spectrogram.c2
1 files changed, 2 insertions, 0 deletions
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);