comctl32/tests: Make state data accessible to caller (Valgrind).

This commit is contained in:
Nikolay Sivov 2011-10-16 10:22:32 -05:00 committed by Alexandre Julliard
parent ea96417f83
commit 482d80cf16

View file

@ -474,7 +474,7 @@ static LRESULT WINAPI parent_wnd_proc(HWND hwnd, UINT message, WPARAM wParam, LP
case MCN_GETDAYSTATE:
{
NMDAYSTATE *nmstate = (NMDAYSTATE*)lParam;
MONTHDAYSTATE months[14] = { 0 };
static MONTHDAYSTATE months[14] = { 0 };
ok(nmstate->cDayState > 0, "got %d\n", nmstate->cDayState);
ok(nmstate->cDayState <= 14, "got %d\n", nmstate->cDayState);