aboutsummaryrefslogtreecommitdiffstats
path: root/src/libdisplay
diff options
context:
space:
mode:
authorMartin Hauke <mardnh@gmx.de>2019-07-15 21:14:52 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2019-07-15 21:14:52 +0200
commit75765d49b735f3a998a5c0ee4b372b4d1da7576c (patch)
tree37c6044b327de55a343e9ae4da882cc2ee133a9e /src/libdisplay
parentc357ab5ad53aac6a469aef77c42332918670620a (diff)
Fixed many typos in output and source code comments
Diffstat (limited to 'src/libdisplay')
-rw-r--r--src/libdisplay/display_wave.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libdisplay/display_wave.c b/src/libdisplay/display_wave.c
index d5f285b..e89fb3b 100644
--- a/src/libdisplay/display_wave.c
+++ b/src/libdisplay/display_wave.c
@@ -120,7 +120,7 @@ void display_wave(dispwav_t *disp, sample_t *samples, int length, double range)
if (pos == width + 2) {
memset(&screen, ' ', sizeof(screen));
for (j = 0; j < width; j++) {
- /* Input value is scaled to range -1 .. 1 and then substracted from 1,
+ /* Input value is scaled to range -1 .. 1 and then subtracted from 1,
* so the result ranges from 0 .. 2.
* HEIGHT-1 is multiplied with the range, so a HEIGHT of 3 would allow
* 0..4 (5 steps) and a HEIGHT of 11 would allow 0..20 (21 steps).