mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 02:01:31 +00:00
- made the code mostly signed-char safe.
This eliminates all char function parameters that are not really ASCII characters and casts all char argument to the ctype is... functions.
This commit is contained in:
parent
dc1c6976e2
commit
2f896b859b
13 changed files with 32 additions and 33 deletions
|
@ -233,7 +233,7 @@ TArray<FString> CollectSearchPaths()
|
|||
if (nice.Len() > 0)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
if (isalpha(nice[0] && nice[1] == ':' && nice[2] != '/')) continue; // ignore drive relative paths because they are meaningless.
|
||||
if (isalpha((uint8_t)nice[0] && nice[1] == ':' && nice[2] != '/')) continue; // ignore drive relative paths because they are meaningless.
|
||||
#endif
|
||||
// A path ending with "/*" means to add all subdirectories.
|
||||
if (nice[nice.Len()-2] == '/' && nice[nice.Len()-1] == '*')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue