mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-25 20:59:42 +02:00
eeshow/lib-render.c (draw_pin_name): skip initial ~ in pin name
This commit is contained in:
parent
82635e8a41
commit
2ef7eab861
@ -158,7 +158,8 @@ static void draw_pin_name(const struct comp *comp, const struct lib_pin *pin,
|
||||
}
|
||||
|
||||
struct text txt = {
|
||||
.s = pin->name,
|
||||
/* @@@ or should we strcmp "~" and if 0, ignore the name ? */
|
||||
.s = *pin->name == '~' ? pin->name + 1 : pin->name,
|
||||
.x = mx(pin->x + ox, pin->y + oy, m) + sx,
|
||||
.y = my(pin->x + ox, pin->y + oy, m) + sy,
|
||||
.size = pin->name_size,
|
||||
|
Loading…
Reference in New Issue
Block a user