Nicolas Le Cam : shell32/tests: Fix a test on Win2k platform and above.

Alexandre Julliard julliard at winehq.org
Mon Mar 23 12:34:50 CDT 2009


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

Author: Nicolas Le Cam <niko.lecam at gmail.com>
Date:   Tue Mar 17 22:40:45 2009 +0100

shell32/tests: Fix a test on Win2k platform and above.

---

 dlls/shell32/tests/appbar.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/dlls/shell32/tests/appbar.c b/dlls/shell32/tests/appbar.c
index 5d15fcd..51bea2b 100644
--- a/dlls/shell32/tests/appbar.c
+++ b/dlls/shell32/tests/appbar.c
@@ -340,14 +340,12 @@ static void test_setpos(void)
     test_window_rects(1, 2);
 
     /* remove the other windows */
-    SetWindowLongPtr(windows[1].hwnd, GWLP_USERDATA, 0);
     abd.hWnd = windows[1].hwnd;
     ret = SHAppBarMessage(ABM_REMOVE, &abd);
     ok(ret == TRUE, "SHAppBarMessage returned %i\n", ret);
     windows[1].registered = FALSE;
     DestroyWindow(windows[1].hwnd);
 
-    SetWindowLongPtr(windows[2].hwnd, GWLP_USERDATA, 0);
     abd.hWnd = windows[2].hwnd;
     ret = SHAppBarMessage(ABM_REMOVE, &abd);
     ok(ret == TRUE, "SHAppBarMessage returned %i\n", ret);




More information about the wine-cvs mailing list