mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
cmdlgtst: Use NULL instead of casting 0 to a pointer.
This commit is contained in:
parent
f0ec2a5ca1
commit
42e612fd78
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue