mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-03-22 02:31:28 +00:00
One last fix for mankind
This commit is contained in:
parent
148f7babcd
commit
475b3152ca
1 changed files with 1 additions and 1 deletions
2
lexer.c
2
lexer.c
|
@ -1353,7 +1353,7 @@ int lex_do(lex_file *lex)
|
|||
|
||||
lex->tok.ttype = TOKEN_CHARCONST;
|
||||
/* It's a vector if we can successfully scan 3 floats */
|
||||
#ifdef WIN32
|
||||
#ifdef _MSC_VER
|
||||
if (sscanf_s(lex->tok.value, " %f %f %f ",
|
||||
&lex->tok.constval.v.x, &lex->tok.constval.v.y, &lex->tok.constval.v.z) == 3)
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue