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
8cd1d583
Commit
8cd1d583
authored
Nov 21, 2011
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Nov 21, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Drop superfluous function pointer casts.
parent
e6cf9fbc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
dialog.c
dlls/user32/tests/dialog.c
+1
-1
edit.c
dlls/user32/tests/edit.c
+0
-0
msg.c
dlls/user32/tests/msg.c
+1
-1
No files found.
dlls/user32/tests/dialog.c
View file @
8cd1d583
...
@@ -1150,7 +1150,7 @@ static void test_DialogBoxParamA(void)
...
@@ -1150,7 +1150,7 @@ static void test_DialogBoxParamA(void)
static
void
test_DisabledDialogTest
(
void
)
static
void
test_DisabledDialogTest
(
void
)
{
{
g_terminated
=
FALSE
;
g_terminated
=
FALSE
;
DialogBoxParam
(
g_hinst
,
"IDD_DIALOG"
,
NULL
,
(
DLGPROC
)
disabled_test_proc
,
0
);
DialogBoxParam
(
g_hinst
,
"IDD_DIALOG"
,
NULL
,
disabled_test_proc
,
0
);
ok
(
FALSE
==
g_terminated
,
"dialog with disabled ok button has been terminated
\n
"
);
ok
(
FALSE
==
g_terminated
,
"dialog with disabled ok button has been terminated
\n
"
);
}
}
...
...
dlls/user32/tests/edit.c
View file @
8cd1d583
This diff is collapsed.
Click to expand it.
dlls/user32/tests/msg.c
View file @
8cd1d583
...
@@ -11236,7 +11236,7 @@ static void test_dialog_messages(void)
...
@@ -11236,7 +11236,7 @@ static void test_dialog_messages(void)
cls
.
lpszClassName
=
"MyDialogClass"
;
cls
.
lpszClassName
=
"MyDialogClass"
;
cls
.
hInstance
=
GetModuleHandle
(
0
);
cls
.
hInstance
=
GetModuleHandle
(
0
);
/* need a cast since a dlgproc is used as a wndproc */
/* need a cast since a dlgproc is used as a wndproc */
cls
.
lpfnWndProc
=
(
WNDPROC
)
test_dlg_proc
;
cls
.
lpfnWndProc
=
test_dlg_proc
;
if
(
!
RegisterClass
(
&
cls
))
assert
(
0
);
if
(
!
RegisterClass
(
&
cls
))
assert
(
0
);
hdlg
=
CreateDialogParam
(
0
,
"CLASS_TEST_DIALOG_2"
,
0
,
test_dlg_proc
,
0
);
hdlg
=
CreateDialogParam
(
0
,
"CLASS_TEST_DIALOG_2"
,
0
,
test_dlg_proc
,
0
);
...
...
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