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
b8d46863
Commit
b8d46863
authored
Nov 07, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Nov 07, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Fix some test failures on Win9x.
parent
93689728
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
cursoricon.c
dlls/user32/tests/cursoricon.c
+6
-3
No files found.
dlls/user32/tests/cursoricon.c
View file @
b8d46863
...
@@ -737,7 +737,8 @@ static void test_LoadImageFile(const unsigned char * image_data,
...
@@ -737,7 +737,8 @@ static void test_LoadImageFile(const unsigned char * image_data,
ok
(
handle
==
NULL
,
"LoadImage(%s) as IMAGE_CURSOR succeeded incorrectly.
\n
"
,
ext
);
ok
(
handle
==
NULL
,
"LoadImage(%s) as IMAGE_CURSOR succeeded incorrectly.
\n
"
,
ext
);
error
=
GetLastError
();
error
=
GetLastError
();
ok
(
error
==
0
||
ok
(
error
==
0
||
broken
(
error
==
ERROR_BAD_PATHNAME
),
/* Win9x, WinMe */
broken
(
error
==
0xdeadbeef
)
||
/* Win9x */
broken
(
error
==
ERROR_BAD_PATHNAME
),
/* Win98, WinMe */
"Last error: %u
\n
"
,
error
);
"Last error: %u
\n
"
,
error
);
if
(
handle
!=
NULL
)
DestroyCursor
(
handle
);
if
(
handle
!=
NULL
)
DestroyCursor
(
handle
);
...
@@ -747,7 +748,8 @@ static void test_LoadImageFile(const unsigned char * image_data,
...
@@ -747,7 +748,8 @@ static void test_LoadImageFile(const unsigned char * image_data,
ok
(
handle
==
NULL
,
"LoadImage(%s) as IMAGE_ICON succeeded incorrectly.
\n
"
,
ext
);
ok
(
handle
==
NULL
,
"LoadImage(%s) as IMAGE_ICON succeeded incorrectly.
\n
"
,
ext
);
error
=
GetLastError
();
error
=
GetLastError
();
ok
(
error
==
0
||
ok
(
error
==
0
||
broken
(
error
==
ERROR_BAD_PATHNAME
),
/* Win9x, WinMe */
broken
(
error
==
0xdeadbeef
)
||
/* Win9x */
broken
(
error
==
ERROR_BAD_PATHNAME
),
/* Win98, WinMe */
"Last error: %u
\n
"
,
error
);
"Last error: %u
\n
"
,
error
);
if
(
handle
!=
NULL
)
DestroyIcon
(
handle
);
if
(
handle
!=
NULL
)
DestroyIcon
(
handle
);
...
@@ -822,7 +824,8 @@ static void test_LoadImage(void)
...
@@ -822,7 +824,8 @@ static void test_LoadImage(void)
ok
(
handle
!=
NULL
,
"LoadImage() failed.
\n
"
);
ok
(
handle
!=
NULL
,
"LoadImage() failed.
\n
"
);
error
=
GetLastError
();
error
=
GetLastError
();
ok
(
error
==
0
||
ok
(
error
==
0
||
broken
(
error
==
ERROR_BAD_PATHNAME
),
/* Win9x, WinMe */
broken
(
error
==
0xdeadbeef
)
||
/* Win9x */
broken
(
error
==
ERROR_BAD_PATHNAME
),
/* Win98, WinMe */
"Last error: %u
\n
"
,
error
);
"Last error: %u
\n
"
,
error
);
/* Test the icon information. */
/* Test the icon information. */
...
...
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