d3dxof: Avoid undefined behavior in parse_object_parts.
Signed-off-by: Thomas Faber <thomas.faber@reactos.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b22d4e4588
commit
73eff6652a
|
@ -1349,7 +1349,8 @@ _exit:
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
buf->pxo = buf->pxo->children[buf->pxo->nb_children] = &buf->pxo_tab[buf->pxo->root->nb_subobjects++];
|
||||
buf->pxo = buf->pxo->children[buf->pxo->nb_children] = &buf->pxo_tab[buf->pxo->root->nb_subobjects];
|
||||
pxo->root->nb_subobjects++;
|
||||
|
||||
TRACE("Enter optional %s\n", (char*)buf->value);
|
||||
buf->level++;
|
||||
|
|
Loading…
Reference in New Issue