From 255ff5d78955717b195e89514f5f43adfbb7a118 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Mon, 7 Aug 2023 11:36:36 -0400 Subject: [PATCH] Manual cherry-pick of 256c7fa7 Fixes https://gitlab.com/kicad/code/kicad/-/issues/15367 --- eeschema/sch_validators.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/sch_validators.cpp b/eeschema/sch_validators.cpp index 2103e79986..fc3b8e0977 100644 --- a/eeschema/sch_validators.cpp +++ b/eeschema/sch_validators.cpp @@ -113,7 +113,7 @@ bool SCH_FIELD_VALIDATOR::Validate( wxWindow* aParent ) else if( excludeChar == ' ' ) badCharsFound.Add( _( "space" ) ); else - badCharsFound.Add( wxString::Format( wxT( "'%s'" ), excludeChar ) ); + badCharsFound.Add( wxString::Format( wxT( "'%c'" ), excludeChar ) ); } } #else