cmdlgtst: Use NULL instead of casting 0 to a pointer.
This commit is contained in:
parent
f0ec2a5ca1
commit
42e612fd78
|
@ -304,9 +304,9 @@ static void paintMainWindow(HWND hWnd, UINT iMessage, WPARAM wParam, LPARAM lPar
|
|||
|
||||
/* now draw a couple of lines, just for giggles. */
|
||||
|
||||
MoveToEx(ps.hdc, rect.left, rect.top, (POINT *) 0);
|
||||
MoveToEx(ps.hdc, rect.left, rect.top, NULL);
|
||||
LineTo(ps.hdc, rect.right, rect.bottom);
|
||||
MoveToEx(ps.hdc, rect.left, rect.bottom, (POINT *) 0);
|
||||
MoveToEx(ps.hdc, rect.left, rect.bottom, NULL);
|
||||
LineTo(ps.hdc, rect.right, rect.top);
|
||||
|
||||
/* draw some text */
|
||||
|
|
Loading…
Reference in New Issue