From 93f1d070fc09bc34427b9adcc5209b21c0ed4e9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Thu, 21 Aug 2008 10:32:11 +0200 Subject: [PATCH] regedit: Fix passing null pointer. --- programs/regedit/framewnd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/regedit/framewnd.c b/programs/regedit/framewnd.c index de4b98acda9..51c94cc955c 100644 --- a/programs/regedit/framewnd.c +++ b/programs/regedit/framewnd.c @@ -673,7 +673,7 @@ static BOOL _CmdWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) case ID_REGISTRY_PRINT: { const WCHAR empty = 0; - PrintRegistryHive(hWnd, empty); + PrintRegistryHive(hWnd, &empty); break; } case ID_EDIT_DELETE: