mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-17 19:56:14 +02:00
eeshow/gui/glabel.c (add_dest_overlay): show "(unnamed)", not "(null)"
... for unnamed sheet.
This commit is contained in:
parent
040a5af28f
commit
85a47724d7
@ -123,7 +123,8 @@ static void add_dest_overlay(struct gui_ctx *ctx, const char *label,
|
|||||||
continue;
|
continue;
|
||||||
over = overlay_add(&ctx->pop_overlays,
|
over = overlay_add(&ctx->pop_overlays,
|
||||||
&ctx->aois, NULL, glabel_dest_click, sheet);
|
&ctx->aois, NULL, glabel_dest_click, sheet);
|
||||||
overlay_text(over, "%d %s", n, sheet->sch->title);
|
overlay_text(over, "%d %s", n,
|
||||||
|
sheet->sch->title ? sheet->sch->title : "(unnamed)");
|
||||||
overlay_style(over, &style);
|
overlay_style(over, &style);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user