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
b8bdb130
Commit
b8bdb130
authored
Apr 16, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Apr 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Fix a test that fails in XP and win2k3.
parent
4a75b8bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
sysparams.c
dlls/user32/tests/sysparams.c
+7
-5
No files found.
dlls/user32/tests/sysparams.c
View file @
b8bdb130
...
...
@@ -2554,11 +2554,13 @@ static void test_EnumDisplaySettings(void)
num
=
1
;
while
(
1
)
{
SetLastError
(
0xdeadbeef
);
if
(
!
EnumDisplaySettings
(
NULL
,
num
++
,
&
devmode
))
{
DWORD
le
=
GetLastError
();
ok
(
le
==
ERROR_NO_MORE_FILES
,
"Last error on EnumDisplaySettings was %d, expected ERROR_NO_MORE_FILES
\n
"
,
le
);
break
;
SetLastError
(
0xdeadbeef
);
if
(
!
EnumDisplaySettings
(
NULL
,
num
++
,
&
devmode
))
{
DWORD
le
=
GetLastError
();
ok
(
le
==
ERROR_NO_MORE_FILES
||
le
==
0xdeadbeef
,
/* XP, 2003 */
"Expected ERROR_NO_MORE_FILES or 0xdeadbeef, got %d
\n
"
,
le
);
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