mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
dbghelp: Use symt_get_name directly in stabs_pts_read_aggregate.
This commit is contained in:
parent
956eea6b31
commit
4cc3ce923a
1 changed files with 2 additions and 6 deletions
|
@ -655,15 +655,11 @@ static inline int stabs_pts_read_aggregate(struct ParseTypedefData* ptd,
|
|||
if (doadd)
|
||||
{
|
||||
char tmp[256];
|
||||
WCHAR* name;
|
||||
DWORD64 size;
|
||||
|
||||
symt_get_info(adt, TI_GET_SYMNAME, &name);
|
||||
strcpy(tmp, "__inherited_class_");
|
||||
WideCharToMultiByte(CP_ACP, 0, name, -1,
|
||||
tmp + strlen(tmp), sizeof(tmp) - strlen(tmp),
|
||||
NULL, NULL);
|
||||
HeapFree(GetProcessHeap(), 0, name);
|
||||
strcat(tmp, symt_get_name(adt));
|
||||
|
||||
/* FIXME: TI_GET_LENGTH will not always work, especially when adt
|
||||
* has just been seen as a forward definition and not the real stuff
|
||||
* yet.
|
||||
|
|
Loading…
Reference in a new issue