André Hentschel : gameux: Only trace on success (clang ).

Alexandre Julliard julliard at winehq.org
Tue Jan 25 12:01:39 CST 2011


Module: wine
Branch: master
Commit: 3e411a2d9ce2c856b7063d84cf8cfe1800d89600
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3e411a2d9ce2c856b7063d84cf8cfe1800d89600

Author: André Hentschel <nerv at dawncrow.de>
Date:   Mon Jan 24 20:43:07 2011 +0100

gameux: Only trace on success (clang).

---

 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 61df25e..b0e7674 100644
--- a/dlls/gameux/gamestatistics.c
+++ b/dlls/gameux/gamestatistics.c
@@ -564,11 +564,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);
                                 }
 




More information about the wine-cvs mailing list