Fix character specifier in validator format string
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15367
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user