version/tests: Check the correct variable.
Michael Stefaniuc
mstefani at redhat.de
Tue May 15 03:12:39 CDT 2012
---
uiLengthA was checked already for that value.
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);
--
1.7.7.6
More information about the wine-patches
mailing list