regedit: Fix passing null pointer.
This commit is contained in:
parent
edf48ea287
commit
93f1d070fc
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue