Fix memset on the parser...

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-08-15 12:11:15 +02:00
parent f9c86d1d69
commit e5124ecf2f

View file

@ -1987,7 +1987,7 @@ bool parser_init()
if (!parser)
return false;
memset(parser, 0, sizeof(parser));
memset(parser, 0, sizeof(*parser));
MEM_VECTOR_INIT(parser, globals);
MEM_VECTOR_INIT(parser, locals);