Index: stat.c =================================================================== --- stat.c (revision 36979) +++ stat.c (revision 36980) @@ -339,8 +339,8 @@ height = bb.Y2 - bb.Y1; } else { - width = PCB->hidlib.size_x; - height = PCB->hidlib.size_y; + width = rnd_dwg_get_size_x(&PCB->hidlib); + height = rnd_dwg_get_size_y(&PCB->hidlib); } fprintf(f, " ha:board {\n");