Replace PAD_SHAPE::RECT by PAD_SHAPE::RECTANGLE to avoid a collision NAME with a windows header on MSYS2, creating many compil warnings. No actual code change.

This commit is contained in:
jean-pierre charras
2023-06-02 12:18:24 +02:00
parent 0eb45a7f27
commit 9a47b34499
25 changed files with 58 additions and 50 deletions
+1 -1
View File
@@ -228,7 +228,7 @@ void BRDITEMS_PLOTTER::PlotPad( const PAD* aPad, const COLOR4D& aColor, OUTLINE_
&gbr_metadata );
break;
case PAD_SHAPE::RECT:
case PAD_SHAPE::RECTANGLE:
m_plotter->FlashPadRect( shape_pos, aPad->GetSize(), aPad->GetOrientation(), aPlotMode,
&gbr_metadata );
break;