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
5cc3167b
Commit
5cc3167b
authored
Mar 15, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Mar 15, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
abfda01f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
uitools.c
dlls/user32/tests/uitools.c
+3
-2
No files found.
dlls/user32/tests/uitools.c
View file @
5cc3167b
...
...
@@ -16,6 +16,7 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#undef WINE_NO_LONG_TYPES
/* temporary for migration */
#define WINE_NO_INLINE_RECT
#include "wine/test.h"
...
...
@@ -46,7 +47,7 @@ static void test_FillRect(void)
oldhbmp
=
SelectObject
(
hdcmem
,
hbmp
);
ok
(
oldhbmp
!=
NULL
,
"SelectObject returned NULL
\n
"
);
/* a memdc always has a bitmap selected */
col
=
GetPixel
(
hdcmem
,
0
,
0
);
ok
(
col
==
0xffffff
,
"GetPixel returned %08x, expected 0xffffff
\n
"
,
col
);
ok
(
col
==
0xffffff
,
"GetPixel returned %08
l
x, expected 0xffffff
\n
"
,
col
);
/* select black brush */
old_brush
=
SelectObject
(
hdcmem
,
GetStockObject
(
BLACK_BRUSH
));
...
...
@@ -55,7 +56,7 @@ static void test_FillRect(void)
SelectObject
(
hdcmem
,
old_brush
);
/* bitmap filled with last selected brush */
col
=
GetPixel
(
hdcmem
,
0
,
0
);
ok
(
col
==
0
,
"GetPixel returned %08x, expected 0
\n
"
,
col
);
ok
(
col
==
0
,
"GetPixel returned %08
l
x, expected 0
\n
"
,
col
);
SelectObject
(
hdcmem
,
oldhbmp
);
DeleteObject
(
hbmp
);
...
...
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