ses_layout_draw()
authoryu.dongliang <18588496441@163.com>
Fri, 10 Nov 2023 05:20:22 +0000 (13:20 +0800)
committeryu.dongliang <18588496441@163.com>
Fri, 10 Nov 2023 05:20:22 +0000 (13:20 +0800)
ses_layout.c

index b02d42253945e6e19f2928d4193dfd25b49bda7c..43853acaf916fc51c4335525fecb8bf04fb25639 100644 (file)
@@ -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);