Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
06ec62d9
Commit
06ec62d9
authored
Oct 07, 2006
by
Paul Vriens
Committed by
Alexandre Julliard
Oct 07, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32: Move NULL check before use (Coverity).
parent
f3dbf490
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
fontdlg16.c
dlls/comdlg32/fontdlg16.c
+4
-3
No files found.
dlls/comdlg32/fontdlg16.c
View file @
06ec62d9
...
@@ -174,12 +174,13 @@ BOOL16 WINAPI ChooseFont16(LPCHOOSEFONT16 lpChFont)
...
@@ -174,12 +174,13 @@ BOOL16 WINAPI ChooseFont16(LPCHOOSEFONT16 lpChFont)
LOGFONT16
*
font16
;
LOGFONT16
*
font16
;
SEGPTR
lpTemplateName
;
SEGPTR
lpTemplateName
;
cf32w
.
lpLogFont
=&
lf32w
;
CFn_CHOOSEFONT16to32W
(
lpChFont
,
&
cf32w
);
TRACE
(
"ChooseFont
\n
"
);
TRACE
(
"ChooseFont
\n
"
);
if
(
!
lpChFont
)
return
FALSE
;
if
(
!
lpChFont
)
return
FALSE
;
cf32w
.
lpLogFont
=&
lf32w
;
CFn_CHOOSEFONT16to32W
(
lpChFont
,
&
cf32w
);
if
(
TRACE_ON
(
commdlg
))
if
(
TRACE_ON
(
commdlg
))
_dump_cf_flags
(
lpChFont
->
Flags
);
_dump_cf_flags
(
lpChFont
->
Flags
);
...
...
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