]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fileconf.cpp
Cleanup
[wxWidgets.git] / 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
     //     should *not* be quoted
     if ( 
 #if !wxUSE_UNICODE
-            (c < 127) &&
+            ((unsigned char)c < 127) &&
 #endif // ANSI
          !wxIsalnum(c) && !wxStrchr(wxT("@_/-!.*%"), c) )
     {
 #endif // ANSI
          !wxIsalnum(c) && !wxStrchr(wxT("@_/-!.*%"), c) )
     {