regedit: Fix passing null pointer.

This commit is contained in:
Alexander Nicolaysen Sørnes 2008-08-21 10:32:11 +02:00 committed by Alexandre Julliard
parent edf48ea287
commit 93f1d070fc
1 changed files with 1 additions and 1 deletions

View File

@ -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: