1
0
mirror of git://projects.qi-hardware.com/fped.git synced 2024-10-01 09:24:10 +03: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:
werner 2009-09-08 19:37:47 +00:00
parent bd10b18626
commit e04a8017b7

View File

@ -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)