Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
c30c441e
Commit
c30c441e
authored
Jul 26, 2011
by
Austin English
Committed by
Alexandre Julliard
Jul 27, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32/tests: Remove win9x hacks.
parent
372ad442
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
gdiobj.c
dlls/gdi32/tests/gdiobj.c
+3
-3
palette.c
dlls/gdi32/tests/palette.c
+1
-3
No files found.
dlls/gdi32/tests/gdiobj.c
View file @
c30c441e
...
...
@@ -221,7 +221,7 @@ static void test_GetCurrentObject(void)
hobj
=
GetCurrentObject
(
hdc
,
OBJ_PEN
);
ok
(
hobj
==
hpen
,
"OBJ_PEN is wrong: %p
\n
"
,
hobj
);
hobj
=
GetCurrentObject
(
hdc
,
OBJ_EXTPEN
);
ok
(
hobj
==
hpen
||
broken
(
hobj
==
0
)
/* win9x */
,
"OBJ_EXTPEN is wrong: %p
\n
"
,
hobj
);
ok
(
hobj
==
hpen
,
"OBJ_EXTPEN is wrong: %p
\n
"
,
hobj
);
hbrush
=
CreateSolidBrush
(
RGB
(
10
,
20
,
30
));
assert
(
hbrush
!=
0
);
...
...
@@ -257,7 +257,7 @@ static void test_GetCurrentObject(void)
hobj
=
GetCurrentObject
(
hdc
,
OBJ_PEN
);
ok
(
hobj
==
hpen
,
"OBJ_PEN is wrong: %p
\n
"
,
hobj
);
hobj
=
GetCurrentObject
(
hdc
,
OBJ_EXTPEN
);
ok
(
hobj
==
hpen
||
broken
(
hobj
==
0
)
/* win9x */
,
"OBJ_EXTPEN is wrong: %p
\n
"
,
hobj
);
ok
(
hobj
==
hpen
,
"OBJ_EXTPEN is wrong: %p
\n
"
,
hobj
);
hcs
=
GetColorSpace
(
hdc
);
if
(
hcs
)
...
...
@@ -268,7 +268,7 @@ static void test_GetCurrentObject(void)
ok
(
hcs
!=
0
,
"CreateColorSpace failed
\n
"
);
SelectObject
(
hdc
,
hcs
);
hobj
=
GetCurrentObject
(
hdc
,
OBJ_COLORSPACE
);
ok
(
hobj
==
hcs
||
broken
(
hobj
==
0
)
/* win9x */
,
"OBJ_COLORSPACE is wrong: %p
\n
"
,
hobj
);
ok
(
hobj
==
hcs
,
"OBJ_COLORSPACE is wrong: %p
\n
"
,
hobj
);
}
hrgn
=
CreateRectRgn
(
1
,
1
,
100
,
100
);
...
...
dlls/gdi32/tests/palette.c
View file @
c30c441e
...
...
@@ -110,9 +110,7 @@ static void test_DIB_PAL_COLORS(void) {
SetPixel
(
memhdc
,
0
,
0
,
setColor
);
chkColor
=
RGB
(
logpalettedata
[
3
].
peRed
,
logpalettedata
[
3
].
peGreen
,
logpalettedata
[
3
].
peBlue
);
getColor
=
GetPixel
(
memhdc
,
0
,
0
);
ok
(
getColor
==
chkColor
||
broken
(
getColor
==
0
),
/* win9x */
"getColor=%08X
\n
"
,
(
UINT
)
getColor
);
ok
(
getColor
==
chkColor
,
"getColor=%08X
\n
"
,
(
UINT
)
getColor
);
SelectPalette
(
memhdc
,
hpalOld
,
FALSE
);
DeleteObject
(
hpal
);
...
...
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