mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-30 04:30:43 +00:00
fix array type string parsing
This commit is contained in:
parent
2c94688e87
commit
90fa657a5f
1 changed files with 2 additions and 0 deletions
|
@ -486,6 +486,8 @@ _parse_type (const char **str)
|
|||
new.num_parms *= 10;
|
||||
new.num_parms += *(*str)++ - '0';
|
||||
}
|
||||
while (isspace (**str))
|
||||
(*str)++;
|
||||
new.aux_type = _parse_type (str);
|
||||
if (**str != ']')
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue