mirror of
https://github.com/ZDoom/zdbsp.git
synced 2024-11-22 03:41:29 +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;
|
sc_StringQuoted = true;
|
||||||
while (*ScriptPtr != ASCII_QUOTE)
|
while (*ScriptPtr != ASCII_QUOTE)
|
||||||
{
|
{
|
||||||
if (*ScriptPtr < ' ')
|
if (*ScriptPtr >= 0 && *ScriptPtr < ' ')
|
||||||
{
|
{
|
||||||
ScriptPtr++;
|
ScriptPtr++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue