Alexandre Julliard : comctl32/tests: Fix lparam checks in the treeview test for Win64.

Alexandre Julliard julliard at winehq.org
Mon Jan 12 10:40:28 CST 2009


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Sat Jan 10 21:05:32 2009 +0100

comctl32/tests: Fix lparam checks in the treeview test for Win64.

---

 dlls/comctl32/tests/treeview.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/comctl32/tests/treeview.c b/dlls/comctl32/tests/treeview.c
index d0157d4..5e2746c 100644
--- a/dlls/comctl32/tests/treeview.c
+++ b/dlls/comctl32/tests/treeview.c
@@ -111,7 +111,7 @@ static const struct message TestGetSetBkColorSeq[] = {
     { TVM_GETBKCOLOR, sent|wparam|lparam, 0x00000000, 0x00000000 },
     { TVM_SETBKCOLOR, sent|wparam|lparam, 0x00000000, 0x00ffffff },
     { TVM_GETBKCOLOR, sent|wparam|lparam, 0x00000000, 0x00000000 },
-    { TVM_SETBKCOLOR, sent|wparam|lparam, 0x00000000, 0xffffffff },
+    { TVM_SETBKCOLOR, sent|wparam|lparam, 0x00000000, -1 },
     { 0 }
 };
 
@@ -146,7 +146,7 @@ static const struct message TestGetSetItemSeq[] = {
 
 static const struct message TestGetSetItemHeightSeq[] = {
     { TVM_GETITEMHEIGHT, sent|wparam|lparam, 0x00000000, 0x00000000 },
-    { TVM_SETITEMHEIGHT, sent|wparam|lparam, 0xffffffff, 0x00000000 },
+    { TVM_SETITEMHEIGHT, sent|wparam|lparam, -1, 0x00000000 },
     { TVM_GETITEMHEIGHT, sent|wparam|lparam, 0x00000000, 0x00000000 },
     { TVM_SETITEMHEIGHT, sent|lparam, 0xcccccccc, 0x00000000 },
     { TVM_GETITEMHEIGHT, sent|wparam|lparam|optional, 0x00000000, 0x00000000 },
@@ -171,7 +171,7 @@ static const struct message TestGetSetTextColorSeq[] = {
     { TVM_GETTEXTCOLOR, sent|wparam|lparam, 0x00000000, 0x00000000 },
     { TVM_SETTEXTCOLOR, sent|wparam|lparam, 0x00000000, 0x00ffffff },
     { TVM_GETTEXTCOLOR, sent|wparam|lparam, 0x00000000, 0x00000000 },
-    { TVM_SETTEXTCOLOR, sent|wparam|lparam, 0x00000000, 0xffffffff },
+    { TVM_SETTEXTCOLOR, sent|wparam|lparam, 0x00000000, -1 },
     { 0 }
 };
 




More information about the wine-cvs mailing list