Fix character specifier in validator format string

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15367
This commit is contained in:
Jon Evans 2023-08-07 08:38:07 -04:00
parent 717ee350c8
commit 256c7fa788
1 changed files with 1 additions and 1 deletions

View File

@ -407,7 +407,7 @@ bool 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