diff --git a/common/validators.cpp b/common/validators.cpp index 822cb1305d..65e6c35101 100644 --- a/common/validators.cpp +++ b/common/validators.cpp @@ -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