d3dxof: Do not expect a separator when there is no element.

oldstable
Christian Costa 2010-02-01 08:18:30 +01:00 committed by Alexandre Julliard
parent 65b7bdcef9
commit 4d79c26306
1 changed files with 1 additions and 1 deletions

View File

@ -1161,7 +1161,7 @@ static BOOL parse_object_members_list(parse_buffer * buf)
}
}
if (buf->txt && (check_TOKEN(buf) != TOKEN_CBRACE))
if (nb_elems && buf->txt && (check_TOKEN(buf) != TOKEN_CBRACE))
{
token = get_TOKEN(buf);
if ((token != TOKEN_SEMICOLON) && (token != TOKEN_COMMA))