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
297e559a
Commit
297e559a
authored
Feb 28, 2010
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Mar 01, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32: Shed unused parameters from CFn_WMInitDialog and CFn_WMDestroy.
parent
f7e292a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
fontdlg.c
dlls/comdlg32/fontdlg.c
+5
-5
No files found.
dlls/comdlg32/fontdlg.c
View file @
297e559a
...
...
@@ -610,7 +610,7 @@ static INT WINAPI FontStyleEnumProc( const ENUMLOGFONTEXW *lpElfex,
/***********************************************************************
* CFn_WMInitDialog [internal]
*/
static
LRESULT
CFn_WMInitDialog
(
HWND
hDlg
,
WPARAM
wParam
,
LPARAM
lParam
,
LPCHOOSEFONTW
lpcf
)
static
LRESULT
CFn_WMInitDialog
(
HWND
hDlg
,
LPARAM
lParam
,
LPCHOOSEFONTW
lpcf
)
{
HDC
hdc
;
int
i
,
j
,
init
=
0
;
...
...
@@ -1064,7 +1064,7 @@ static LRESULT CFn_WMCommand(HWND hDlg, WPARAM wParam, LPARAM lParam, LPCHOOSEFO
return
(
FALSE
);
}
static
LRESULT
CFn_WMDestroy
(
HWND
hwnd
,
WPARAM
wParam
,
LPARAM
lParam
,
LPCHOOSEFONTW
lpcfw
)
static
LRESULT
CFn_WMDestroy
(
HWND
hwnd
,
LPCHOOSEFONTW
lpcfw
)
{
LPCHOOSEFONTA
lpcfa
;
LPSTR
lpszStyle
;
...
...
@@ -1179,7 +1179,7 @@ static INT_PTR CALLBACK FormatCharDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam,
MultiByteToWideChar
(
CP_ACP
,
0
,
lpcfa
->
lpszStyle
,
-
1
,
lpcfw
->
lpszStyle
,
len
);
}
if
(
!
CFn_WMInitDialog
(
hDlg
,
wParam
,
lParam
,
lpcfw
))
if
(
!
CFn_WMInitDialog
(
hDlg
,
lParam
,
lpcfw
))
{
TRACE
(
"CFn_WMInitDialog returned FALSE
\n
"
);
return
FALSE
;
...
...
@@ -1196,7 +1196,7 @@ static INT_PTR CALLBACK FormatCharDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam,
case
WM_COMMAND
:
return
CFn_WMCommand
(
hDlg
,
wParam
,
lParam
,
lpcfw
);
case
WM_DESTROY
:
return
CFn_WMDestroy
(
hDlg
,
wParam
,
lParam
,
lpcfw
);
return
CFn_WMDestroy
(
hDlg
,
lpcfw
);
case
WM_CHOOSEFONT_GETLOGFONT
:
TRACE
(
"WM_CHOOSEFONT_GETLOGFONT lParam=%08lX
\n
"
,
lParam
);
FIXME
(
"current logfont back to caller
\n
"
);
...
...
@@ -1228,7 +1228,7 @@ static INT_PTR CALLBACK FormatCharDlgProcW(HWND hDlg, UINT uMsg, WPARAM wParam,
else
{
lpcf
=
(
LPCHOOSEFONTW
)
lParam
;
if
(
!
CFn_WMInitDialog
(
hDlg
,
wParam
,
lParam
,
lpcf
))
if
(
!
CFn_WMInitDialog
(
hDlg
,
lParam
,
lpcf
))
{
TRACE
(
"CFn_WMInitDialog returned FALSE
\n
"
);
return
FALSE
;
...
...
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