mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +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))
|
||||
{
|
||||
ShowLastWin32Error(0);
|
||||
ShowLastWin32Error(NULL);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -773,7 +773,7 @@ _tWinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPTSTR lpCmdLine, INT nCmdShow)
|
|||
NULL);
|
||||
if (!hwnd)
|
||||
{
|
||||
ShowLastWin32Error(0);
|
||||
ShowLastWin32Error(NULL);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue