gameux: Only trace on success (clang).

This commit is contained in:
André Hentschel 2011-01-24 20:43:07 +01:00 committed by Alexandre Julliard
parent 91ac0c37b1
commit 3e411a2d9c
1 changed files with 5 additions and 4 deletions

View File

@ -564,11 +564,12 @@ static HRESULT GAMEUX_loadStatisticsFromFile(struct GAMEUX_STATS *data)
} }
if(SUCCEEDED(hr)) if(SUCCEEDED(hr))
{
lstrcpynW(data->categories[i].stats[j].sValue, V_BSTR(&vValue), MAX_VALUE_LENGTH); lstrcpynW(data->categories[i].stats[j].sValue, V_BSTR(&vValue), MAX_VALUE_LENGTH);
TRACE("statistic %d name %s value %s\n", j,
TRACE(" statistic %d name %s value %s\n", j, debugstr_w(data->categories[i].stats[j].sName),
debugstr_w(data->categories[i].stats[j].sName), debugstr_w(data->categories[i].stats[j].sValue));
debugstr_w(data->categories[i].stats[j].sValue)); }
IXMLDOMElement_Release(statisticElement); IXMLDOMElement_Release(statisticElement);
} }