dbghelp: Fix invalid assignment in symt_fill_sym_info.

This commit is contained in:
Victor Martinez Calvo 2014-04-29 17:39:46 +02:00 committed by Alexandre Julliard
parent 36309142d0
commit 9eca0aa8a7
1 changed files with 2 additions and 2 deletions

View File

@ -696,8 +696,8 @@ static void symt_fill_sym_info(struct module_pair* pair,
if (sym_info->MaxNameLen)
{
if (sym->tag != SymTagPublicSymbol || !(dbghelp_options & SYMOPT_UNDNAME) ||
(sym_info->NameLen = UnDecorateSymbolName(name, sym_info->Name,
sym_info->MaxNameLen, UNDNAME_NAME_ONLY) == 0))
((sym_info->NameLen = UnDecorateSymbolName(name, sym_info->Name,
sym_info->MaxNameLen, UNDNAME_NAME_ONLY)) == 0))
{
sym_info->NameLen = min(strlen(name), sym_info->MaxNameLen - 1);
memcpy(sym_info->Name, name, sym_info->NameLen);