mirror of
https://github.com/reactos/wine.git
synced 2024-11-27 13:40:50 +00:00
commdlg: Explicitely initialize remaining fields of CHOOSECOLORA (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ff94fc1daf
commit
4d3b87fc09
@ -62,6 +62,9 @@ BOOL16 WINAPI ChooseColor16( LPCHOOSECOLOR16 cc16 )
|
||||
cc32.lpCustColors = MapSL( cc16->lpCustColors );
|
||||
cc32.Flags = cc16->Flags & ~(CC_ENABLETEMPLATE | CC_ENABLETEMPLATEHANDLE | CC_ENABLEHOOK);
|
||||
cc32.lCustData = cc16->lCustData;
|
||||
cc32.hInstance = NULL;
|
||||
cc32.lpfnHook = NULL;
|
||||
cc32.lpTemplateName = NULL;
|
||||
|
||||
if (cc16->Flags & (CC_ENABLETEMPLATE | CC_ENABLETEMPLATEHANDLE))
|
||||
FIXME( "custom templates no longer supported, using default\n" );
|
||||
|
Loading…
Reference in New Issue
Block a user