Index: draw_csect.c =================================================================== --- draw_csect.c (revision 19586) +++ draw_csect.c (revision 19587) @@ -67,7 +67,7 @@ t.X = PCB_MM_TO_COORD(x); t.Y = PCB_MM_TO_COORD(y); t.TextString = (char *)txt; - t.Direction = dir; + t.rot = 90.0*dir; t.Scale = scale; t.fid = 0; /* use the default font */ t.Flags = pcb_no_flags(); @@ -83,7 +83,7 @@ t.X = x; t.Y = y; t.TextString = (char *)txt; - t.Direction = dir; + t.rot = 90.0*dir; t.Scale = scale; t.fid = 0; /* use the default font */ t.Flags = pcb_no_flags(); @@ -99,7 +99,7 @@ t.X = PCB_MM_TO_COORD(x); t.Y = PCB_MM_TO_COORD(y); t.TextString = (char *)txt; - t.Direction = dir; + t.rot = 90.0 * dir; t.Scale = scale; t.fid = 0; /* use the default font */ t.Flags = pcb_no_flags();