[1/2] comctl32/header: Use macro to define LPARAM value

Nikolay Sivov bunglehead at gmail.com
Sun Jul 12 05:20:23 CDT 2009


Changelog:
    - Use macro to define LPARAM value instead of hardcoded result

>From 370fce3b3d01877a1f3a043b098ed77b68b8a4c3 Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <bunglehead at gmail.com>
Date: Sun, 12 Jul 2009 02:48:38 +0400
Subject: Use macro to define LPARAM value

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

diff --git a/dlls/comctl32/tests/header.c b/dlls/comctl32/tests/header.c
index e357f9d..3b6aa30 100644
--- a/dlls/comctl32/tests/header.c
+++ b/dlls/comctl32/tests/header.c
@@ -952,7 +952,7 @@ static void test_hdm_sethotdivider(HWND hParent)
     flush_sequences(sequences, NUM_MSG_SEQUENCES);
     todo_wine
     {
-        retVal = SendMessage(hChild, HDM_SETHOTDIVIDER, TRUE, 0X00050005);
+        retVal = SendMessage(hChild, HDM_SETHOTDIVIDER, TRUE, MAKELPARAM(5, 5));
         expect(0, retVal);
     }
     retVal = SendMessage(hChild, HDM_SETHOTDIVIDER, FALSE, 100);
-- 
1.5.6.5







More information about the wine-patches mailing list