mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
comdlg32: Don't call the callback if it's not set.
This commit is contained in:
parent
d285629cf4
commit
ec37a87e95
@ -3994,8 +3994,11 @@ static UINT_PTR CALLBACK pdlgex_hook_proc(HWND hwnd, UINT msg, WPARAM wp, LPARAM
|
||||
PRINTDLGW *pd = (PRINTDLGW *)lp;
|
||||
struct callback_data *cb = (struct callback_data *)pd->lCustData;
|
||||
|
||||
cb->callback->lpVtbl->SelectionChange(cb->callback);
|
||||
cb->callback->lpVtbl->InitDone(cb->callback);
|
||||
if (cb->callback)
|
||||
{
|
||||
cb->callback->lpVtbl->SelectionChange(cb->callback);
|
||||
cb->callback->lpVtbl->InitDone(cb->callback);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user