Commit 29b2db00 authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

comctl32/tests: Use BOOL type where appropriate.

parent 6151371d
......@@ -1690,7 +1690,7 @@ static BOOL init(void)
/* maximum 8 items allowed */
static void check_orderarray(HWND hwnd, DWORD start, DWORD set, DWORD expected,
int todo, int line)
BOOL todo, int line)
{
int count, i;
INT order[8];
......
......@@ -961,18 +961,18 @@ static void test_hittest(void)
typedef struct hittest_test
{
UINT ht;
int todo;
BOOL todo;
} hittest_test_t;
static const hittest_test_t title_hits[] = {
/* Start is the same everywhere */
{ MCHT_TITLE, 0 },
{ MCHT_TITLEBTNPREV, 0 },
{ MCHT_TITLE, FALSE },
{ MCHT_TITLEBTNPREV, FALSE },
/* The middle piece is only tested for presence of items */
/* End is the same everywhere */
{ MCHT_TITLEBTNNEXT, 0 },
{ MCHT_TITLE, 0 },
{ MCHT_NOWHERE, 1 }
{ MCHT_TITLEBTNNEXT, FALSE },
{ MCHT_TITLE, FALSE },
{ MCHT_NOWHERE, TRUE }
};
MCHITTESTINFO mchit;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment