commit 1c12b4e33b94d6f02a8f004c9db427b9532466e3
parent 22ccf3377e922a4c68ee48f4bc940854ca897923
Author: krasjet
Date: 2021-01-11 08:10Z

trim spaces

Diffstat:
Mbtbuf.c | 4++--
Mbtbuf.h | 2+-
Moso.1 | 24++++++++++++------------
3 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/btbuf.c b/btbuf.c @@ -51,7 +51,7 @@ btbuf_clear(btbuf *buf) buf->buf[i] = BT_WHITE; } -void +void btbuf_vline(btbuf *buf, int x, int y0, int y1) { int y; @@ -69,7 +69,7 @@ btbuf_vline(btbuf *buf, int x, int y0, int y1) draw(x, y); } -void +void btbuf_rline(btbuf *buf, int x0, int y0, int y1) { int mid, sy, cnt; diff --git a/btbuf.h b/btbuf.h @@ -23,7 +23,7 @@ void btbuf_clear(btbuf *buf); /* draw vertical line from (x,y0) to (x,y1) * ASSUMES: 0<=x<width */ void btbuf_vline(btbuf *buf, int x, int y0, int y1); -/* draw line from (x,y0) to (x+1,y1) +/* draw line from (x,y0) to (x+1,y1) * ASSUMES: 0<=x<width-1 */ void btbuf_rline(btbuf *buf, int x, int y0, int y1); diff --git a/oso.1 b/oso.1 @@ -91,10 +91,10 @@ window is focused when you press the keys. Pause the display or resume if already paused. .TP .B 0 -Toggle drawing mode between -.B line -mode or -.B dot +Toggle drawing mode between +.B line +mode or +.B dot mode. .IP In @@ -104,7 +104,7 @@ straight line, whereas in .B dot mode, raw samples will be drawn so the waveform will be discontinuous. .IP -The default is +The default is .B line mode. .TP @@ -118,16 +118,16 @@ It doubles samples per pixel. .TP .B [ Amplitude zoom in. -It decreases maximum amplitude by +It decreases maximum amplitude by .BR 0.1 . -The minimum is +The minimum is .BR 0.1 . .TP .B ] Amplitude zoom out. -It increases maximum amplitude by +It increases maximum amplitude by .BR 0.1 . -The maximum is +The maximum is .BR 1.5 . . .SH OPTIONS @@ -139,18 +139,18 @@ Print usage and exit. Set the width of oscilloscope in pixels. Note that there is a limit to how thin or wide a window can be, so do not set this to something too extreme. -The default is +The default is .B 256 pixels. .TP .BI \-H " height" Set the height of oscilloscope in pixels. Again, do not set this to something too extreme. -The default is +The default is .B 159 pixels. .TP .BI \-S " scale" Set pixel scaling. -The default is +The default is .BR 2 .