Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
4d3b87fc
Commit
4d3b87fc
authored
Dec 29, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Dec 29, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commdlg: Explicitely initialize remaining fields of CHOOSECOLORA (Coverity).
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ff94fc1d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
colordlg.c
dlls/commdlg.dll16/colordlg.c
+3
-0
No files found.
dlls/commdlg.dll16/colordlg.c
View file @
4d3b87fc
...
...
@@ -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
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment