comctl32/taskdialog: Zero out taskdialog_info at initialization.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com> Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
bb58a9d976
commit
4762b751e8
|
@ -560,6 +560,8 @@ static void taskdialog_init(struct taskdialog_info *dialog_info, HWND hwnd)
|
|||
{
|
||||
const TASKDIALOGCONFIG *taskconfig = dialog_info->taskconfig;
|
||||
|
||||
memset(dialog_info, 0, sizeof(*dialog_info));
|
||||
dialog_info->taskconfig = taskconfig;
|
||||
dialog_info->hwnd = hwnd;
|
||||
|
||||
if (taskconfig->dwFlags & TDF_CALLBACK_TIMER)
|
||||
|
|
Loading…
Reference in New Issue