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
6ac552ed
Commit
6ac552ed
authored
Feb 22, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 22, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wing.dll16: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f0f4e105
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
Makefile.in
dlls/wing.dll16/Makefile.in
+0
-1
wing.c
dlls/wing.dll16/wing.c
+2
-2
No files found.
dlls/wing.dll16/Makefile.in
View file @
6ac552ed
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
wing.dll16
MODULE
=
wing.dll16
IMPORTS
=
gdi32
IMPORTS
=
gdi32
EXTRADLLFLAGS
=
-m16
EXTRADLLFLAGS
=
-m16
...
...
dlls/wing.dll16/wing.c
View file @
6ac552ed
...
@@ -173,7 +173,7 @@ HBITMAP16 WINAPI WinGCreateBitmap16(HDC16 hdc, BITMAPINFO *bmpi, SEGPTR *bits)
...
@@ -173,7 +173,7 @@ HBITMAP16 WINAPI WinGCreateBitmap16(HDC16 hdc, BITMAPINFO *bmpi, SEGPTR *bits)
LPVOID
bits32
;
LPVOID
bits32
;
HBITMAP
hbitmap
;
HBITMAP
hbitmap
;
TRACE
(
"(%d,%p,%p): create %
dx%
dx%d bitmap
\n
"
,
hdc
,
bmpi
,
bits
,
TRACE
(
"(%d,%p,%p): create %
ldx%l
dx%d bitmap
\n
"
,
hdc
,
bmpi
,
bits
,
bmpi
->
bmiHeader
.
biWidth
,
bmpi
->
bmiHeader
.
biHeight
,
bmpi
->
bmiHeader
.
biPlanes
);
bmpi
->
bmiHeader
.
biWidth
,
bmpi
->
bmiHeader
.
biHeight
,
bmpi
->
bmiHeader
.
biPlanes
);
hbitmap
=
CreateDIBSection
(
HDC_32
(
hdc
),
bmpi
,
DIB_RGB_COLORS
,
&
bits32
,
0
,
0
);
hbitmap
=
CreateDIBSection
(
HDC_32
(
hdc
),
bmpi
,
DIB_RGB_COLORS
,
&
bits32
,
0
,
0
);
...
@@ -278,7 +278,7 @@ HPALETTE16 WINAPI WinGCreateHalfTonePalette16(void)
...
@@ -278,7 +278,7 @@ HPALETTE16 WINAPI WinGCreateHalfTonePalette16(void)
HBRUSH16
WINAPI
WinGCreateHalfToneBrush16
(
HDC16
winDC
,
COLORREF
col
,
HBRUSH16
WINAPI
WinGCreateHalfToneBrush16
(
HDC16
winDC
,
COLORREF
col
,
WING_DITHER_TYPE
type
)
WING_DITHER_TYPE
type
)
{
{
TRACE
(
"(%d,%d,%d)
\n
"
,
winDC
,
col
,
type
);
TRACE
(
"(%d,%
l
d,%d)
\n
"
,
winDC
,
col
,
type
);
return
HBRUSH_16
(
CreateSolidBrush
(
col
));
return
HBRUSH_16
(
CreateSolidBrush
(
col
));
}
}
...
...
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