From b2f2ec332074ee59276e2372c8a094a2ade4134b Mon Sep 17 00:00:00 2001 From: TT Date: Fri, 29 Nov 2019 22:18:47 +0900 Subject: [PATCH] fix: show channel in marker info --- plot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plot.c b/plot.c index f343bc50..770546d7 100644 --- a/plot.c +++ b/plot.c @@ -1608,7 +1608,7 @@ cell_draw_marker_info(int m, int n, int w, int h) xpos -= m * CELLWIDTH -CELLOFFSETX; ypos -= n * CELLHEIGHT; strcpy(buf, "CH0"); - buf[2] += t; + buf[2] += trace[t].channel; //chsnprintf(buf, sizeof buf, "CH%d", trace[t].channel); cell_drawstring_invert_5x7(w, h, buf, xpos, ypos, config.trace_color[t], t == uistat.current_trace); xpos += 20;