Null HWNDs are NULL.

svn path=/trunk/; revision=63937
This commit is contained in:
Hermès Bélusca-Maïto 2014-08-24 14:15:07 +00:00
parent c4ffcdd3ad
commit 5c29ce6bee

View file

@ -756,7 +756,7 @@ _tWinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPTSTR lpCmdLine, INT nCmdShow)
if (!RegisterClassEx(&WndClass)) if (!RegisterClassEx(&WndClass))
{ {
ShowLastWin32Error(0); ShowLastWin32Error(NULL);
return 0; return 0;
} }
@ -773,7 +773,7 @@ _tWinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPTSTR lpCmdLine, INT nCmdShow)
NULL); NULL);
if (!hwnd) if (!hwnd)
{ {
ShowLastWin32Error(0); ShowLastWin32Error(NULL);
return 0; return 0;
} }