mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
Null HWNDs are NULL.
svn path=/trunk/; revision=63937
This commit is contained in:
parent
c4ffcdd3ad
commit
5c29ce6bee
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue