mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-17 03:24:19 +01:00
UI-Files: Codacy fix codacy errors and warnings
This commit is contained in:
1 parent
f841a8ba58
commit
93f4277b3c
4 files changed
+4
-6
No files matched your search
@@ -76,7 +76,7 @@ static std::time_t ConvertFileTimeToUnixTime(const FILETIME& ft)
|
||||
|
||||
static inline bool FileSystemCharacterIsSane(char c, bool StripSlashes)
|
||||
{
|
||||
if (!(c >= 'a' && c <= 'z') && !(c >= 'A' && c <= 'Z') && !(c >= '0' && c <= '9') && c != ' ' && c != ' ' &&
|
||||
if (!(c >= 'a' && c <= 'z') && !(c >= 'A' && c <= 'Z') && !(c >= '0' && c <= '9') && c != ' ' &&
|
||||
c != '_' && c != '-' && c != '.')
|
||||
{
|
||||
if (!StripSlashes && (c == '/' || c == '\\'))
|
||||
|
||||
Reference in new issue
Block a user