really fixed calling isspace() for non-ASCII characters

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2004-03-16 21:48:18 +00:00
parent 119cd34193
commit cc3dd6fce9

View File

@ -2031,7 +2031,7 @@ static wxString FilterOutEntryName(const wxString& str)
// should *not* be quoted // should *not* be quoted
if ( if (
#if !wxUSE_UNICODE #if !wxUSE_UNICODE
(c < 127) && ((unsigned char)c < 127) &&
#endif // ANSI #endif // ANSI
!wxIsalnum(c) && !wxStrchr(wxT("@_/-!.*%"), c) ) !wxIsalnum(c) && !wxStrchr(wxT("@_/-!.*%"), c) )
{ {