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
96e4a33b
Commit
96e4a33b
authored
Mar 01, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
Mar 01, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32/tests: Fix a few format strings.
parent
508b00a3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
bitmap.c
dlls/gdi32/tests/bitmap.c
+6
-6
No files found.
dlls/gdi32/tests/bitmap.c
View file @
96e4a33b
...
...
@@ -363,20 +363,20 @@ static void test_dib_info(HBITMAP hbm, const void *bits, const BITMAPINFOHEADER
ds
.
dsBmih
.
biSizeImage
=
0
;
ok
(
ds
.
dsBmih
.
biSize
==
bmih
->
biSize
,
"%u != %u
\n
"
,
ds
.
dsBmih
.
biSize
,
bmih
->
biSize
);
ok
(
ds
.
dsBmih
.
biWidth
==
bmih
->
biWidth
,
"%
u != %u
\n
"
,
ds
.
dsBmih
.
biWidth
,
bmih
->
biWidth
);
ok
(
ds
.
dsBmih
.
biHeight
==
bmih
->
biHeight
,
"%
u != %u
\n
"
,
ds
.
dsBmih
.
biHeight
,
bmih
->
biHeight
);
ok
(
ds
.
dsBmih
.
biWidth
==
bmih
->
biWidth
,
"%
d != %d
\n
"
,
ds
.
dsBmih
.
biWidth
,
bmih
->
biWidth
);
ok
(
ds
.
dsBmih
.
biHeight
==
bmih
->
biHeight
,
"%
d != %d
\n
"
,
ds
.
dsBmih
.
biHeight
,
bmih
->
biHeight
);
ok
(
ds
.
dsBmih
.
biPlanes
==
bmih
->
biPlanes
,
"%u != %u
\n
"
,
ds
.
dsBmih
.
biPlanes
,
bmih
->
biPlanes
);
ok
(
ds
.
dsBmih
.
biBitCount
==
bmih
->
biBitCount
,
"%u != %u
\n
"
,
ds
.
dsBmih
.
biBitCount
,
bmih
->
biBitCount
);
ok
(
ds
.
dsBmih
.
biCompression
==
bmih
->
biCompression
,
"%u != %u
\n
"
,
ds
.
dsBmih
.
biCompression
,
bmih
->
biCompression
);
ok
(
ds
.
dsBmih
.
biSizeImage
==
bmih
->
biSizeImage
,
"%u != %u
\n
"
,
ds
.
dsBmih
.
biSizeImage
,
bmih
->
biSizeImage
);
ok
(
ds
.
dsBmih
.
biXPelsPerMeter
==
bmih
->
biXPelsPerMeter
,
"%
u != %u
\n
"
,
ds
.
dsBmih
.
biXPelsPerMeter
,
bmih
->
biXPelsPerMeter
);
ok
(
ds
.
dsBmih
.
biYPelsPerMeter
==
bmih
->
biYPelsPerMeter
,
"%
u != %u
\n
"
,
ds
.
dsBmih
.
biYPelsPerMeter
,
bmih
->
biYPelsPerMeter
);
ok
(
ds
.
dsBmih
.
biXPelsPerMeter
==
bmih
->
biXPelsPerMeter
,
"%
d != %d
\n
"
,
ds
.
dsBmih
.
biXPelsPerMeter
,
bmih
->
biXPelsPerMeter
);
ok
(
ds
.
dsBmih
.
biYPelsPerMeter
==
bmih
->
biYPelsPerMeter
,
"%
d != %d
\n
"
,
ds
.
dsBmih
.
biYPelsPerMeter
,
bmih
->
biYPelsPerMeter
);
memset
(
&
ds
,
0xAA
,
sizeof
(
ds
));
ret
=
GetObject
(
hbm
,
sizeof
(
ds
)
-
4
,
&
ds
);
ok
(
ret
==
sizeof
(
ds
.
dsBm
)
||
broken
(
ret
==
(
sizeof
(
ds
)
-
4
)
/* Win9x */
),
"wrong size %d
\n
"
,
ret
);
ok
(
ds
.
dsBm
.
bmWidth
==
bmih
->
biWidth
,
"%
u != %u
\n
"
,
ds
.
dsBmih
.
biWidth
,
bmih
->
biWidth
);
ok
(
ds
.
dsBm
.
bmHeight
==
bmih
->
biHeight
,
"%
u != %u
\n
"
,
ds
.
dsBmih
.
biHeight
,
bmih
->
biHeight
);
ok
(
ds
.
dsBm
.
bmWidth
==
bmih
->
biWidth
,
"%
d != %d
\n
"
,
ds
.
dsBmih
.
biWidth
,
bmih
->
biWidth
);
ok
(
ds
.
dsBm
.
bmHeight
==
bmih
->
biHeight
,
"%
d != %d
\n
"
,
ds
.
dsBmih
.
biHeight
,
bmih
->
biHeight
);
ok
(
ds
.
dsBm
.
bmBits
==
bits
,
"%p != %p
\n
"
,
ds
.
dsBm
.
bmBits
,
bits
);
ret
=
GetObject
(
hbm
,
0
,
&
ds
);
...
...
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