From e5180c9df00ef2b77028dea55a9b657a8edf5d6f Mon Sep 17 00:00:00 2001 From: "yu.dongliang" <18588496441@163.com> Date: Fri, 10 Nov 2023 13:20:22 +0800 Subject: [PATCH] ses_layout_draw() --- ses_layout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ses_layout.c b/ses_layout.c index b02d422..43853ac 100644 --- a/ses_layout.c +++ b/ses_layout.c @@ -1723,8 +1723,8 @@ int ses_layout_draw(ScfEboard* b, uint32_t bx, uint32_t by, uint32_t bw, uint32_ if (l->x0 > l->x1) continue; - if (1 || !prev) { - snprintf(text, sizeof(text) - 1, "%ld_%ld", el->id, k); + if (!prev) { + snprintf(text, sizeof(text) - 1, "%ld", el->id); cairo_move_to (cr, l->x0 - 30, l->y0 + 5); cairo_show_text(cr, text); -- 2.25.1