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
b7a852b1
Commit
b7a852b1
authored
Aug 10, 2009
by
Rein Klazes
Committed by
Alexandre Julliard
Aug 10, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32/tests: Fix some test failures on Win95 and NT4.
Reported by Paul Vriens.
parent
e903872f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
filedlg.c
dlls/comdlg32/tests/filedlg.c
+5
-1
No files found.
dlls/comdlg32/tests/filedlg.c
View file @
b7a852b1
...
...
@@ -736,6 +736,7 @@ static LONG_PTR WINAPI template_hook_arrange(HWND dlgChild, UINT msg, WPARAM wPa
/* the real tests */
int
withhelp
;
int
expectx
,
expecty
;
DWORD
style
;
withhelp
=
(
arrange_tests
[
index
].
ofnflags
&
OFN_SHOWHELP
)
!=
0
;
GetWindowRect
(
dlgParent
,
&
wrcParent
);
...
...
@@ -762,7 +763,9 @@ static LONG_PTR WINAPI template_hook_arrange(HWND dlgChild, UINT msg, WPARAM wPa
else
expectx
+=
clrcChild
.
right
-
(
rcStc32
.
right
-
rcStc32
.
left
)
;
}
if
(
!
(
arrange_tests
[
index
].
ofnflags
&
OFN_ENABLESIZING
))
{
style
=
GetWindowLong
(
dlgParent
,
GWL_STYLE
);
if
(
!
(
style
&
WS_SIZEBOX
))
{
/* without the OFN_ENABLESIZING flag */
ok
(
wrcParent
.
bottom
-
wrcParent
.
top
==
expecty
,
"Wrong height of dialog %d, expected %d
\n
"
,
wrcParent
.
bottom
-
wrcParent
.
top
,
expecty
);
...
...
@@ -770,6 +773,7 @@ static LONG_PTR WINAPI template_hook_arrange(HWND dlgChild, UINT msg, WPARAM wPa
"Wrong width of dialog %d, expected %d
\n
"
,
wrcParent
.
right
-
wrcParent
.
left
,
expectx
);
}
else
todo_wine
{
/* with the OFN_ENABLESIZING flag */
ok
(
wrcParent
.
bottom
-
wrcParent
.
top
>
expecty
,
"Wrong height of dialog %d, expected more than %d
\n
"
,
wrcParent
.
bottom
-
wrcParent
.
top
,
expecty
);
...
...
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