Module: wine Branch: master Commit: 482d80cf1632d2cbfb175fa83bc0dc733ac360ec URL: http://source.winehq.org/git/wine.git/?a=commit;h=482d80cf1632d2cbfb175fa83b... Author: Nikolay Sivov <nsivov(a)codeweavers.com> Date: Sun Oct 16 10:22:32 2011 -0500 comctl32/tests: Make state data accessible to caller (Valgrind). --- dlls/comctl32/tests/monthcal.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/comctl32/tests/monthcal.c b/dlls/comctl32/tests/monthcal.c index fd6b910..0585bb4 100644 --- a/dlls/comctl32/tests/monthcal.c +++ b/dlls/comctl32/tests/monthcal.c @@ -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);