Previous fix incorrectly removed all test for strings starting with

'?', this is only valid when undname is called with the 'NO_ARGUMENTS'
flags.
This commit is contained in:
Eric Pouech 2005-10-26 10:09:05 +00:00 committed by Alexandre Julliard
parent 3cb62c6532
commit 0518c164ca
1 changed files with 2 additions and 0 deletions

View File

@ -979,6 +979,8 @@ static BOOL symbol_demangle(struct parsed_symbol* sym)
goto done; goto done;
} }
/* MS mangled names always begin with '?' */
if (*sym->current != '?') return FALSE;
str_array_init(&sym->stack); str_array_init(&sym->stack);
sym->current++; sym->current++;