]> git.saurik.com Git - wxWidgets.git/commitdiff
really fixed calling isspace() for non-ASCII characters
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 16 Mar 2004 21:48:18 +0000 (21:48 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 16 Mar 2004 21:48:18 +0000 (21:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/fileconf.cpp

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