gameux: Only trace on success (clang)

André Hentschel nerv at dawncrow.de
Mon Jan 24 13:43:07 CST 2011


---
 dlls/gameux/gamestatistics.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/dlls/gameux/gamestatistics.c b/dlls/gameux/gamestatistics.c
index 3e631e2..c96fb6d 100644
--- a/dlls/gameux/gamestatistics.c
+++ b/dlls/gameux/gamestatistics.c
@@ -565,11 +565,12 @@ static HRESULT GAMEUX_loadStatisticsFromFile(struct GAMEUX_STATS *data)
                                     }
 
                                     if(SUCCEEDED(hr))
+                                    {
                                         lstrcpynW(data->categories[i].stats[j].sValue, V_BSTR(&vValue), MAX_VALUE_LENGTH);
-
-                                    TRACE("  statistic %d name %s value %s\n", j,
-                                            debugstr_w(data->categories[i].stats[j].sName),
-                                            debugstr_w(data->categories[i].stats[j].sValue));
+                                        TRACE("statistic %d name %s value %s\n", j,
+                                              debugstr_w(data->categories[i].stats[j].sName),
+                                              debugstr_w(data->categories[i].stats[j].sValue));
+                                    }
                                     IXMLDOMElement_Release(statisticElement);
                                 }
 
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list