Michael Stefaniuc : version/tests: Check the correct variable.

Alexandre Julliard julliard at winehq.org
Tue May 15 12:55:58 CDT 2012


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Tue May 15 10:12:39 2012 +0200

version/tests: Check the correct variable.

---

 dlls/version/tests/info.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/version/tests/info.c b/dlls/version/tests/info.c
index e689017..e3e5c90 100644
--- a/dlls/version/tests/info.c
+++ b/dlls/version/tests/info.c
@@ -412,7 +412,7 @@ static void test_32bit_win(void)
 
         retW = VerQueryValueW( pVersionInfoW, rootW, (LPVOID *)&pBufW, &uiLengthW );
         ok (retW, "VerQueryValueW failed: GetLastError = %u\n", GetLastError());
-        ok ( uiLengthA == sizeof(VS_FIXEDFILEINFO), "Size (%d) doesn't match the size of the VS_FIXEDFILEINFO struct\n", uiLengthA);
+        ok ( uiLengthW == sizeof(VS_FIXEDFILEINFO), "Size (%d) doesn't match the size of the VS_FIXEDFILEINFO struct\n", uiLengthW );
 
         ok( uiLengthA == uiLengthW, "The size of VS_FIXEDFILEINFO should be the same for both A/W calls, it is (%d) vs. (%d)\n",
                                     uiLengthA, uiLengthW);




More information about the wine-cvs mailing list