Index: draw_csect.c =================================================================== --- draw_csect.c (revision 19385) +++ draw_csect.c (revision 19386) @@ -126,7 +126,7 @@ l.Thickness = PCB_MM_TO_COORD(thick); if (l.Thickness == 0) l.Thickness = 1; - pcb_line_draw_(&l, 0); + pcb_line_draw_(NULL, &l, 0); } /* draw a line of a specific thickness */ @@ -140,7 +140,7 @@ l.Thickness = PCB_MM_TO_COORD(thick); if (l.Thickness == 0) l.Thickness = 1; - pcb_line_draw_(&l, 0); + pcb_line_draw_(NULL, &l, 0); }