Alexander Nicolaysen Sørnes : regedit: Fix passing null pointer.
Module: wine Branch: master Commit: 93f1d070fc09bc34427b9adcc5209b21c0ed4e9d URL: http://source.winehq.org/git/wine.git/?a=commit;h=93f1d070fc09bc34427b9adcc5... Author: Alexander Nicolaysen Sørnes <alex(a)thehandofagony.com> Date: Thu Aug 21 10:32:11 2008 +0200 regedit: Fix passing null pointer. --- programs/regedit/framewnd.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/programs/regedit/framewnd.c b/programs/regedit/framewnd.c index de4b98a..51c94cc 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:
participants (1)
-
Alexandre Julliard