d3dxof: Initialize object member names correctly.

This commit is contained in:
Christian Costa 2008-12-27 12:01:00 +01:00 committed by Alexandre Julliard
parent c9977df853
commit 00c574d117
2 changed files with 2 additions and 1 deletions

View File

@ -1938,6 +1938,7 @@ static BOOL parse_object_members_list(parse_buffer * buf)
int k;
int nb_elems = 1;
buf->pxo->members[i].name = pt->members[i].name;
buf->pxo->members[i].start = buf->cur_pdata;
for (k = 0; k < pt->members[i].nb_dims; k++)

View File

@ -63,7 +63,7 @@ typedef struct {
} xtemplate;
typedef struct {
char name[MAX_NAME_LEN];
char* name;
LPBYTE start;
ULONG size;
} xobject_member;