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
5e441786
Commit
5e441786
authored
Feb 09, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 09, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cards: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0197a1c0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
Makefile.in
dlls/cards/Makefile.in
+0
-1
cards.c
dlls/cards/cards.c
+2
-2
No files found.
dlls/cards/Makefile.in
View file @
5e441786
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
cards.dll
MODULE
=
cards.dll
IMPORTLIB
=
cards
IMPORTLIB
=
cards
IMPORTS
=
user32 gdi32
IMPORTS
=
user32 gdi32
...
...
dlls/cards/cards.c
View file @
5e441786
...
@@ -92,7 +92,7 @@ BOOL WINAPI cdtDrawExt(HDC hdc, int x, int y, int dx, int dy, int card, int mode
...
@@ -92,7 +92,7 @@ BOOL WINAPI cdtDrawExt(HDC hdc, int x, int y, int dx, int dy, int card, int mode
BOOL
eraseFlag
=
FALSE
;
BOOL
eraseFlag
=
FALSE
;
BOOL
drawFlag
=
TRUE
;
BOOL
drawFlag
=
TRUE
;
TRACE
(
"(%p, %d, %d, %d, %d, %d, %d, %d)
\n
"
,
hdc
,
x
,
y
,
dx
,
dy
,
card
,
mode
,
color
);
TRACE
(
"(%p, %d, %d, %d, %d, %d, %d, %
l
d)
\n
"
,
hdc
,
x
,
y
,
dx
,
dy
,
card
,
mode
,
color
);
roundCornersFlag
=
!
(
mode
&
MODEFLAG_DONT_ROUND_CORNERS
)
&&
roundCornersFlag
=
!
(
mode
&
MODEFLAG_DONT_ROUND_CORNERS
)
&&
(
dx
==
cardWidth
)
&&
(
dy
==
cardHeight
);
(
dx
==
cardWidth
)
&&
(
dy
==
cardHeight
);
...
@@ -238,7 +238,7 @@ BOOL WINAPI cdtDrawExt(HDC hdc, int x, int y, int dx, int dy, int card, int mode
...
@@ -238,7 +238,7 @@ BOOL WINAPI cdtDrawExt(HDC hdc, int x, int y, int dx, int dy, int card, int mode
*/
*/
BOOL
WINAPI
cdtDraw
(
HDC
hdc
,
int
x
,
int
y
,
int
card
,
int
mode
,
DWORD
color
)
BOOL
WINAPI
cdtDraw
(
HDC
hdc
,
int
x
,
int
y
,
int
card
,
int
mode
,
DWORD
color
)
{
{
TRACE
(
"(%p, %d, %d, %d, %d, %d)
\n
"
,
hdc
,
x
,
y
,
card
,
mode
,
color
);
TRACE
(
"(%p, %d, %d, %d, %d, %
l
d)
\n
"
,
hdc
,
x
,
y
,
card
,
mode
,
color
);
return
cdtDrawExt
(
hdc
,
x
,
y
,
cardWidth
,
cardHeight
,
card
,
mode
,
color
);
return
cdtDrawExt
(
hdc
,
x
,
y
,
cardWidth
,
cardHeight
,
card
,
mode
,
color
);
}
}
...
...
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