Fix format specifier (KICAD-SV6).
(cherry picked from commit b08990646c)
This commit is contained in:
@@ -1153,10 +1153,8 @@ void SCH_FIELD::Rotate( const VECTOR2I& aCenter, bool aRotateCCW )
|
||||
}
|
||||
else
|
||||
{
|
||||
wxASSERT_MSG(
|
||||
false,
|
||||
wxString::Format( wxT( "SCH_FIELD text angle is not horizontal or vertical: %d" ),
|
||||
GetTextAngle().AsDegrees() ) );
|
||||
wxFAIL_MSG( wxString::Format( wxT( "SCH_FIELD text angle is not horizontal or vertical: %f" ),
|
||||
GetTextAngle().AsDegrees() ) );
|
||||
}
|
||||
|
||||
VECTOR2I pt = GetPosition();
|
||||
|
||||
Reference in New Issue
Block a user