mirror of
https://github.com/ZDoom/zdbsp.git
synced 2024-11-24 21:01:11 +00:00
Only reject ASCII control characters when reading quoted strings
This commit is contained in:
parent
db70239897
commit
c9fd7a9062
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ bool SC_GetString ()
|
|||
sc_StringQuoted = true;
|
||||
while (*ScriptPtr != ASCII_QUOTE)
|
||||
{
|
||||
if (*ScriptPtr < ' ')
|
||||
if (*ScriptPtr >= 0 && *ScriptPtr < ' ')
|
||||
{
|
||||
ScriptPtr++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue