Fix character specifier in validator format string
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15367
This commit is contained in:
parent
717ee350c8
commit
256c7fa788
|
@ -407,7 +407,7 @@ bool FIELD_VALIDATOR::Validate( wxWindow* aParent )
|
||||||
else if( excludeChar == ' ' )
|
else if( excludeChar == ' ' )
|
||||||
badCharsFound.Add( _( "space" ) );
|
badCharsFound.Add( _( "space" ) );
|
||||||
else
|
else
|
||||||
badCharsFound.Add( wxString::Format( wxT( "'%s'" ), excludeChar ) );
|
badCharsFound.Add( wxString::Format( wxT( "'%c'" ), excludeChar ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue