Fix format specifier (KICAD-SV6).

This commit is contained in:
Jeff Young
2025-07-05 10:54:46 -06:00
parent 96eb11cb9e
commit b08990646c
+2 -2
View File
@@ -925,8 +925,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();