mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
File system refactor, bug fixes
This commit is contained in:
@@ -27,7 +27,11 @@ static const char *gs_forbiddenNames[] =
|
||||
|
||||
static bool IsCharForbidden(char c)
|
||||
{
|
||||
return (c < ' ' || c == '<' || c == '>' || c == ':' || c == '\"' || c == '/' || c == '\\' || c == '|' || c == '?' || c == '*' || c > '~' || c == '$' || c == '#');
|
||||
if ((c & 0x80) != 0)
|
||||
return true;
|
||||
|
||||
// <= '$' includes space, ! " # $
|
||||
return (c <= '$' || c == '<' || c == '>' || c == ':' || c == '\"' || c == '/' || c == '\\' || c == '|' || c == '?' || c == '*' || c > '~');
|
||||
}
|
||||
|
||||
namespace PortabilityLayer
|
||||
|
||||
Reference in New Issue
Block a user