Austin English : hlink/tests: Remove win9x hacks.
Alexandre Julliard
julliard at winehq.org
Mon Feb 28 11:02:08 CST 2011
Module: wine
Branch: master
Commit: 5cce62a8f4d06b44d645b1814b7a658075324bc1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5cce62a8f4d06b44d645b1814b7a658075324bc1
Author: Austin English <austinenglish at gmail.com>
Date: Fri Feb 25 14:33:41 2011 -0800
hlink/tests: Remove win9x hacks.
---
dlls/hlink/tests/hlink.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/dlls/hlink/tests/hlink.c b/dlls/hlink/tests/hlink.c
index d151aa5..2b2cfaa 100644
--- a/dlls/hlink/tests/hlink.c
+++ b/dlls/hlink/tests/hlink.c
@@ -355,7 +355,6 @@ static void test_persist_save_data(const char *testname, IHlink *lnk,
const unsigned char *data;
DWORD i;
BOOL same;
- unsigned int expected_data_win9x_size = 0;
hr = IHlink_QueryInterface(lnk, &IID_IPersistStream, (void **)&ps);
ok(hr == S_OK, "IHlink_QueryInterface failed with error 0x%08x\n", hr);
@@ -373,13 +372,9 @@ static void test_persist_save_data(const char *testname, IHlink *lnk,
data = GlobalLock(hglobal);
- if (expected_data_size % 4)
- expected_data_win9x_size = 4 * ((expected_data_size / 4) + 1);
-
/* first check we have the right amount of data */
ok((data_size == expected_data_size) ||
- (data_size == expected_data_alt_size) ||
- broken(data_size == expected_data_win9x_size), /* Win9x and WinMe */
+ (data_size == expected_data_alt_size),
"%s: Size of saved data differs (expected %d or %d, actual %d)\n",
testname, expected_data_size, expected_data_alt_size, data_size);
More information about the wine-cvs
mailing list