Manual cherry-pick of 256c7fa7

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15367
This commit is contained in:
Jon Evans 2023-08-07 11:36:36 -04:00
parent 75f5186dec
commit 255ff5d789
1 changed files with 1 additions and 1 deletions

View File

@ -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