mirror of
git://projects.qi-hardware.com/fped.git
synced 2024-11-22 14:24:02 +02:00
- postscript.c: don't try to print empty pad names, or we'll have a hard time
scaling that zero-sized box to fill the available space git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5620 99fdad57-331a-0410-800a-d7fa5415bdb3
This commit is contained in:
parent
bd10b18626
commit
e04a8017b7
@ -169,6 +169,8 @@ static void ps_pad_name(FILE *file, const struct inst *inst)
|
||||
struct coord b = inst->u.pad.other;
|
||||
unit_type h, w;
|
||||
|
||||
if (!*inst->u.pad.name)
|
||||
return;
|
||||
h = a.y-b.y;
|
||||
w = a.x-b.x;
|
||||
if (h < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user