Francois Gouget : gameux/tests: Remove unneeded parentheses around a gamestatistics string.

Alexandre Julliard julliard at winehq.org
Thu Apr 2 14:27:36 CDT 2020


Module: wine
Branch: master
Commit: c1e282d0f9eaa6835df25b93fa5a313479723434
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=c1e282d0f9eaa6835df25b93fa5a313479723434

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Thu Apr  2 11:09:57 2020 +0200

gameux/tests: Remove unneeded parentheses around a gamestatistics string.

wine_dbgstr_w() already quotes the string.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/gameux/tests/gamestatistics.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/gameux/tests/gamestatistics.c b/dlls/gameux/tests/gamestatistics.c
index 8d4da4a0f4..192a245e09 100644
--- a/dlls/gameux/tests/gamestatistics.c
+++ b/dlls/gameux/tests/gamestatistics.c
@@ -295,17 +295,17 @@ static void test_gamestatisticsmgr( void )
         /* verify values with these which we stored before*/
         hr = IGameStatistics_GetCategoryTitle(gs, 0, &lpName);
         ok(hr == S_OK, "getting category title failed\n");
-        ok(lstrcmpW(lpName, sCategory0)==0, "getting category title returned invalid string (%s)\n", wine_dbgstr_w(lpName));
+        ok(lstrcmpW(lpName, sCategory0)==0, "getting category title returned invalid string %s\n", wine_dbgstr_w(lpName));
         CoTaskMemFree(lpName);
 
         hr = IGameStatistics_GetCategoryTitle(gs, 1, &lpName);
         ok(hr == S_OK, "getting category title failed\n");
-        ok(lstrcmpW(lpName, sCategory1)==0, "getting category title returned invalid string (%s)\n", wine_dbgstr_w(lpName));
+        ok(lstrcmpW(lpName, sCategory1)==0, "getting category title returned invalid string %s\n", wine_dbgstr_w(lpName));
         CoTaskMemFree(lpName);
 
         hr = IGameStatistics_GetCategoryTitle(gs, 2, &lpName);
         ok(hr == S_OK, "getting category title failed\n");
-        ok(lstrcmpW(lpName, sCategory2)==0, "getting category title returned invalid string (%s)\n", wine_dbgstr_w(lpName));
+        ok(lstrcmpW(lpName, sCategory2)==0, "getting category title returned invalid string %s\n", wine_dbgstr_w(lpName));
         CoTaskMemFree(lpName);
 
         /* check result if category doesn't exists */




More information about the wine-cvs mailing list