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
480117fd
Commit
480117fd
authored
Jul 22, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32/tests: Fix a typo in a macro name.
parent
f1ea0637
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
mapping.c
dlls/gdi32/tests/mapping.c
+9
-9
No files found.
dlls/gdi32/tests/mapping.c
View file @
480117fd
...
...
@@ -39,7 +39,7 @@
ok(rough_match(_pt.y, _y), "expected y %d, got %d\n", (_y), _pt.y); \
}
#define expect_world_trasform(_hdc, _em11, _em22) \
#define expect_world_tra
n
sform(_hdc, _em11, _em22) \
{ \
BOOL _ret; \
XFORM _xform; \
...
...
@@ -105,7 +105,7 @@ static void test_world_transform(void)
expect_viewport_ext
(
hdc
,
1
,
1
);
expect_window_ext
(
hdc
,
1
,
1
);
expect_world_trasform
(
hdc
,
1
.
0
,
1
.
0
);
expect_world_tra
n
sform
(
hdc
,
1
.
0
,
1
.
0
);
expect_LPtoDP
(
hdc
,
1000
,
1000
);
SetLastError
(
0xdeadbeef
);
...
...
@@ -128,7 +128,7 @@ static void test_world_transform(void)
rough_match
(
size
.
cy
,
MulDiv
(
res_y
,
254
,
dpi_y
)),
/* Vista uses a more precise method */
"expected cy %d or %d, got %d
\n
"
,
size_cy
*
10
,
MulDiv
(
res_y
,
254
,
dpi_y
),
size
.
cy
);
}
expect_world_trasform
(
hdc
,
1
.
0
,
1
.
0
);
expect_world_tra
n
sform
(
hdc
,
1
.
0
,
1
.
0
);
expect_LPtoDP
(
hdc
,
MulDiv
(
1000
/
10
,
res_x
,
size_cx
),
-
MulDiv
(
1000
/
10
,
res_y
,
size_cy
));
SetLastError
(
0xdeadbeef
);
...
...
@@ -137,7 +137,7 @@ static void test_world_transform(void)
expect_viewport_ext
(
hdc
,
1
,
1
);
expect_window_ext
(
hdc
,
1
,
1
);
expect_world_trasform
(
hdc
,
1
.
0
,
1
.
0
);
expect_world_tra
n
sform
(
hdc
,
1
.
0
,
1
.
0
);
expect_LPtoDP
(
hdc
,
1000
,
1000
);
ret
=
SetGraphicsMode
(
hdc
,
GM_ADVANCED
);
...
...
@@ -150,7 +150,7 @@ static void test_world_transform(void)
expect_viewport_ext
(
hdc
,
1
,
1
);
expect_window_ext
(
hdc
,
1
,
1
);
expect_world_trasform
(
hdc
,
1
.
0
,
1
.
0
);
expect_world_tra
n
sform
(
hdc
,
1
.
0
,
1
.
0
);
expect_LPtoDP
(
hdc
,
1000
,
1000
);
/* The transform must conform to (eM11 * eM22 != eM12 * eM21) requirement */
...
...
@@ -177,7 +177,7 @@ static void test_world_transform(void)
expect_viewport_ext
(
hdc
,
1
,
1
);
expect_window_ext
(
hdc
,
1
,
1
);
expect_world_trasform
(
hdc
,
20
.
0
,
20
.
0
);
expect_world_tra
n
sform
(
hdc
,
20
.
0
,
20
.
0
);
expect_LPtoDP
(
hdc
,
20000
,
20000
);
SetLastError
(
0xdeadbeef
);
...
...
@@ -192,7 +192,7 @@ static void test_world_transform(void)
ok
(
rough_match
(
size
.
cy
,
size_cy
*
10
)
||
rough_match
(
size
.
cy
,
MulDiv
(
res_y
,
254
,
dpi_y
)),
/* Vista uses a more precise method */
"expected cy %d or %d, got %d
\n
"
,
size_cy
*
10
,
MulDiv
(
res_y
,
254
,
dpi_y
),
size
.
cy
);
expect_world_trasform
(
hdc
,
20
.
0
,
20
.
0
);
expect_world_tra
n
sform
(
hdc
,
20
.
0
,
20
.
0
);
expect_LPtoDP
(
hdc
,
MulDiv
(
20000
,
res_x
,
size
.
cx
),
-
MulDiv
(
20000
,
res_y
,
size
.
cy
));
SetLastError
(
0xdeadbeef
);
...
...
@@ -201,7 +201,7 @@ static void test_world_transform(void)
expect_viewport_ext
(
hdc
,
1
,
1
);
expect_window_ext
(
hdc
,
1
,
1
);
expect_world_trasform
(
hdc
,
20
.
0
,
20
.
0
);
expect_world_tra
n
sform
(
hdc
,
20
.
0
,
20
.
0
);
expect_LPtoDP
(
hdc
,
20000
,
20000
);
ret
=
SetGraphicsMode
(
hdc
,
GM_COMPATIBLE
);
...
...
@@ -211,7 +211,7 @@ static void test_world_transform(void)
expect_viewport_ext
(
hdc
,
1
,
1
);
expect_window_ext
(
hdc
,
1
,
1
);
expect_world_trasform
(
hdc
,
20
.
0
,
20
.
0
);
expect_world_tra
n
sform
(
hdc
,
20
.
0
,
20
.
0
);
expect_LPtoDP
(
hdc
,
20000
,
20000
);
DeleteDC
(
hdc
);
...
...
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