Fix format specifier (KICAD-SV6).

(cherry picked from commit b08990646c)
This commit is contained in:
Jeff Young
2025-07-05 17:54:46 -06:00
parent 2492451270
commit 55f7da60e7
+2 -4
View File
@@ -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();