From e82f9e0305cd13f87e299fcf5b07dc038c850849 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Thu, 10 Aug 2023 16:27:32 +0200 Subject: [PATCH] Fix a change committed by mistake (fortunately in a not used code) in cff2583f --- common/validators.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/validators.cpp b/common/validators.cpp index 2d8962aa9b..65e6c35101 100644 --- a/common/validators.cpp +++ b/common/validators.cpp @@ -424,7 +424,7 @@ bool FIELD_VALIDATOR::Validate( wxWindow* aParent ) else if( excludeChar == wxT( " " ) ) badCharsFound.Add( _( "space" ) ); else - badCharsFound.Add( wxString::Format( wxT( "'%c'" ), excludeChar ) ); + badCharsFound.Add( wxString::Format( wxT( "'%s'" ), excludeChar ) ); } } #endif