From 5c29ce6bee17c40de042974d01bf43be49764eff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Sun, 24 Aug 2014 14:15:07 +0000 Subject: [PATCH] Null HWNDs are NULL. svn path=/trunk/; revision=63937 --- reactos/base/applications/mplay32/mplay32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/base/applications/mplay32/mplay32.c b/reactos/base/applications/mplay32/mplay32.c index 0ad51d91a8e..0e6e4084566 100644 --- a/reactos/base/applications/mplay32/mplay32.c +++ b/reactos/base/applications/mplay32/mplay32.c @@ -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; }