Commit c075d5aa authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

comctl32/monthcal: MCM_GETRANGE does not return BOOL values.

parent 17169816
......@@ -1503,7 +1503,7 @@ MONTHCAL_GetRange(const MONTHCAL_INFO *infoPtr, SYSTEMTIME *range)
{
TRACE("%p\n", range);
if(!range) return FALSE;
if (!range) return 0;
range[1] = infoPtr->maxDate;
range[0] = infoPtr->minDate;
......
......@@ -304,6 +304,9 @@ static void test_monthcal(void)
expect(0, st[1].wSecond);
expect(0, st[1].wMilliseconds);
limits = SendMessageA(hwnd, MCM_GETRANGE, 0, 0);
ok(limits == 0, "got %u\n", limits);
GetSystemTime(&st[0]);
st[1] = st[0];
......
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