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
b46f8b1b
Commit
b46f8b1b
authored
Jul 03, 2009
by
Rein Klazes
Committed by
Alexandre Julliard
Jul 03, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32/tests: fix a few test failures on Vista and higher.
parent
6986d97f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
filedlg.c
dlls/comdlg32/tests/filedlg.c
+3
-3
No files found.
dlls/comdlg32/tests/filedlg.c
View file @
b46f8b1b
...
...
@@ -457,7 +457,7 @@ static LONG_PTR WINAPI test_ok_wndproc(HWND dlg, UINT msg, WPARAM wParam, LPARAM
msgFILEOKSTRING
=
RegisterWindowMessageA
(
FILEOKSTRING
);
}
if
(
msg
==
WM_NOTIFY
)
{
if
(((
LPNMHDR
)
lParam
)
->
code
==
CDN_
INITDON
E
)
{
if
(((
LPNMHDR
)
lParam
)
->
code
==
CDN_
FOLDERCHANG
E
)
{
SetTimer
(
dlg
,
0
,
100
,
0
);
PostMessage
(
parent
,
WM_COMMAND
,
IDOK
,
0
);
return
FALSE
;
...
...
@@ -520,9 +520,9 @@ static void test_ok(void)
:
(
LPOFNHOOKPROC
)
test_ok_wndproc
;
ret
=
GetOpenFileNameA
(
&
ofn
);
ok
(
ok_testcases
[
i
].
expclose
==
ok_testcases
[
i
].
actclose
,
"
Open File dialog should %shave closed.
\n
"
,
"
testid %d: Open File dialog should %shave closed.
\n
"
,
i
,
ok_testcases
[
i
].
expclose
?
""
:
"NOT "
);
ok
(
ret
==
ok_testcases
[
i
].
expclose
,
"
GetOpenFileName returned %#x
\n
"
,
ret
);
ok
(
ret
==
ok_testcases
[
i
].
expclose
,
"
testid %d: GetOpenFileName returned %#x
\n
"
,
i
,
ret
);
ret
=
CommDlgExtendedError
();
ok
(
!
ret
,
"CommDlgExtendedError returned %#x
\n
"
,
ret
);
}
...
...
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