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
ce117514
Commit
ce117514
authored
Feb 25, 2014
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Feb 25, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32/tests: Use BOOL type where appropriate.
parent
b26c4391
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
filedlg.c
dlls/comdlg32/tests/filedlg.c
+6
-6
No files found.
dlls/comdlg32/tests/filedlg.c
View file @
ce117514
...
@@ -325,7 +325,7 @@ static UINT_PTR WINAPI resize_template_hook(HWND dlg, UINT msg, WPARAM wParam, L
...
@@ -325,7 +325,7 @@ static UINT_PTR WINAPI resize_template_hook(HWND dlg, UINT msg, WPARAM wParam, L
{
{
static
RECT
initrc
,
rc
;
static
RECT
initrc
,
rc
;
static
int
index
,
count
;
static
int
index
,
count
;
static
int
gotSWP_bottom
,
gotShowWindow
;
static
BOOL
gotSWP_bottom
,
gotShowWindow
;
HWND
parent
=
GetParent
(
dlg
);
HWND
parent
=
GetParent
(
dlg
);
int
resize
;
int
resize
;
#define MAXNRCTRLS 30
#define MAXNRCTRLS 30
...
@@ -342,7 +342,7 @@ static UINT_PTR WINAPI resize_template_hook(HWND dlg, UINT msg, WPARAM wParam, L
...
@@ -342,7 +342,7 @@ static UINT_PTR WINAPI resize_template_hook(HWND dlg, UINT msg, WPARAM wParam, L
index
=
((
OPENFILENAMEA
*
)
lParam
)
->
lCustData
;
index
=
((
OPENFILENAMEA
*
)
lParam
)
->
lCustData
;
count
=
0
;
count
=
0
;
gotSWP_bottom
=
gotShowWindow
=
0
;
gotSWP_bottom
=
gotShowWindow
=
FALSE
;
/* test style */
/* test style */
style
=
GetWindowLongA
(
parent
,
GWL_STYLE
);
style
=
GetWindowLongA
(
parent
,
GWL_STYLE
);
if
(
resize_testcases
[
index
].
flags
&
OFN_ENABLESIZING
)
if
(
resize_testcases
[
index
].
flags
&
OFN_ENABLESIZING
)
...
@@ -515,16 +515,16 @@ todo_wine
...
@@ -515,16 +515,16 @@ todo_wine
{
{
WINDOWPOS
*
pwp
=
(
WINDOWPOS
*
)
lParam
;
WINDOWPOS
*
pwp
=
(
WINDOWPOS
*
)
lParam
;
if
(
!
index
&&
pwp
->
hwndInsertAfter
==
HWND_BOTTOM
){
if
(
!
index
&&
pwp
->
hwndInsertAfter
==
HWND_BOTTOM
){
gotSWP_bottom
=
1
;
gotSWP_bottom
=
TRUE
;
ok
(
gotShowWindow
==
0
,
"The WM_WINDOWPOSCHANGING message came after a WM_SHOWWINDOW message
\n
"
);
ok
(
!
gotShowWindow
,
"The WM_WINDOWPOSCHANGING message came after a WM_SHOWWINDOW message
\n
"
);
}
}
}
}
break
;
break
;
case
WM_SHOWWINDOW
:
case
WM_SHOWWINDOW
:
{
{
if
(
!
index
){
if
(
!
index
){
gotShowWindow
=
1
;
gotShowWindow
=
TRUE
;
ok
(
gotSWP_bottom
==
1
,
"No WM_WINDOWPOSCHANGING message came before a WM_SHOWWINDOW message
\n
"
);
ok
(
gotSWP_bottom
,
"No WM_WINDOWPOSCHANGING message came before a WM_SHOWWINDOW message
\n
"
);
}
}
}
}
break
;
break
;
...
...
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