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
e32237d3
Commit
e32237d3
authored
Jan 22, 2014
by
André Hentschel
Committed by
Alexandre Julliard
Jan 27, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Avoid preprocessor checks to ensure it compiles.
parent
0d688c7d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
imagelist.c
dlls/comctl32/tests/imagelist.c
+3
-2
monthcal.c
dlls/comctl32/tests/monthcal.c
+3
-2
No files found.
dlls/comctl32/tests/imagelist.c
View file @
e32237d3
...
...
@@ -809,7 +809,8 @@ static ULONG check_bitmap_data(const char *bm_data, ULONG bm_data_size,
image_size
=
DIB_GetWidthBytes
(
bmih
->
biWidth
,
bmih
->
biBitCount
)
*
bmih
->
biHeight
;
ok
(
bmih
->
biSizeImage
==
image_size
,
"wrong biSizeImage %u
\n
"
,
bmih
->
biSizeImage
);
#if 0
if
(
0
)
{
char
fname
[
256
];
FILE
*
f
;
...
...
@@ -818,7 +819,7 @@ static ULONG check_bitmap_data(const char *bm_data, ULONG bm_data_size,
fwrite
(
bm_data
,
1
,
bm_data_size
,
f
);
fclose
(
f
);
}
#endif
return
hdr_size
+
image_size
;
}
...
...
dlls/comctl32/tests/monthcal.c
View file @
e32237d3
...
...
@@ -1082,7 +1082,8 @@ static void test_hittest(void)
expect
(
mchit
.
uHit
,
res
);
expect_hex
(
MCHT_CALENDARDATEPREV
,
res
);
#if 0
if
(
0
)
{
/* (125, 115) is in active area - date from this month */
mchit
.
pt
.
x
=
125
;
mchit
.
pt
.
y
=
115
;
...
...
@@ -1091,7 +1092,7 @@ static void test_hittest(void)
expect
(
115
,
mchit
.
pt
.
y
);
expect
(
mchit
.
uHit
,
res
);
expect
(
MCHT_CALENDARDATE
,
res
);
#endif
}
/* in active area - date from next month */
mchit
.
pt
.
x
=
11
*
r
.
right
/
14
;
...
...
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