From 55f7da60e7ea0f2ce51aa8bebde442738bbbf0b8 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sat, 5 Jul 2025 17:54:46 -0600 Subject: [PATCH] Fix format specifier (KICAD-SV6). (cherry picked from commit b08990646c9009e612a438fde85afb95ee565480) --- eeschema/sch_field.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/eeschema/sch_field.cpp b/eeschema/sch_field.cpp index 42c1bd746e..3ff5fc50f6 100644 --- a/eeschema/sch_field.cpp +++ b/eeschema/sch_field.cpp @@ -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();