mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +00:00
- need to be careful with ctype functions - the way they are written they will do bad things with non-ASCII characters if signed chars are fed to them.
This commit is contained in:
parent
a2f2be17ef
commit
9ef88ea327
1 changed files with 1 additions and 1 deletions
|
@ -2030,7 +2030,7 @@ static int PatchPars (int dummy)
|
|||
{
|
||||
while ('\0' != *str)
|
||||
{
|
||||
if (isspace(*str))
|
||||
if (isspace((unsigned char)*str))
|
||||
{
|
||||
return str;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue