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
698ef15b
Commit
698ef15b
authored
Jun 25, 2001
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jun 25, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace some 16-bit calls by their 32-bit equivalents.
parent
f9037de2
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
brush.c
graphics/x11drv/brush.c
+1
-1
objects.c
graphics/x11drv/objects.c
+1
-1
clipping.c
objects/clipping.c
+1
-1
dc.c
objects/dc.c
+1
-1
event.c
windows/x11drv/event.c
+4
-4
No files found.
graphics/x11drv/brush.c
View file @
698ef15b
...
...
@@ -269,7 +269,7 @@ HBRUSH X11DRV_BRUSH_SelectObject( DC * dc, HBRUSH hbrush, BRUSHOBJ * brush )
bmpInfo
,
(
WORD
)
brush
->
logbrush
.
lbColor
);
BRUSH_SelectPatternBrush
(
dc
,
hBitmap
);
DeleteObject
16
(
hBitmap
);
DeleteObject
(
hBitmap
);
GlobalUnlock16
(
(
HGLOBAL16
)
brush
->
logbrush
.
lbHatch
);
}
...
...
graphics/x11drv/objects.c
View file @
698ef15b
...
...
@@ -54,7 +54,7 @@ HGDIOBJ X11DRV_SelectObject( DC *dc, HGDIOBJ handle )
ret
=
X11DRV_FONT_SelectObject
(
dc
,
handle
,
(
FONTOBJ
*
)
ptr
);
break
;
case
REGION_MAGIC
:
ret
=
(
HGDIOBJ
16
)
SelectClipRgn16
(
dc
->
hSelf
,
handle
);
ret
=
(
HGDIOBJ
)
SelectClipRgn
(
dc
->
hSelf
,
handle
);
break
;
}
GDI_ReleaseObj
(
handle
);
...
...
objects/clipping.c
View file @
698ef15b
...
...
@@ -80,7 +80,7 @@ INT WINAPI ExtSelectClipRgn( HDC hdc, HRGN hrgn, INT fnMode )
{
if
(
fnMode
==
RGN_COPY
)
{
if
(
dc
->
hClipRgn
)
DeleteObject
16
(
dc
->
hClipRgn
);
if
(
dc
->
hClipRgn
)
DeleteObject
(
dc
->
hClipRgn
);
dc
->
hClipRgn
=
0
;
retval
=
SIMPLEREGION
;
/* Clip region == whole DC */
}
...
...
objects/dc.c
View file @
698ef15b
...
...
@@ -392,7 +392,7 @@ void WINAPI SetDCState16( HDC16 hdc, HDC16 hdcs )
}
else
{
if
(
dc
->
hClipRgn
)
DeleteObject
16
(
dc
->
hClipRgn
);
if
(
dc
->
hClipRgn
)
DeleteObject
(
dc
->
hClipRgn
);
dc
->
hClipRgn
=
0
;
}
CLIPPING_UpdateGCRegion
(
dc
);
...
...
windows/x11drv/event.c
View file @
698ef15b
...
...
@@ -901,11 +901,11 @@ static Atom EVENT_SelectionRequest_WCF( Display *display, Window requestor,
itemFmtName
,
wFormat
,
CLIPBOARD_GetFormatName
(
wFormat
));
TSXFree
(
itemFmtName
);
hClipData
=
GetClipboardData
16
(
wFormat
);
hClipData
=
GetClipboardData
(
wFormat
);
if
(
hClipData
&&
(
lpClipData
=
GlobalLock
16
(
hClipData
))
)
if
(
hClipData
&&
(
lpClipData
=
GlobalLock
(
hClipData
))
)
{
cBytes
=
GlobalSize
16
(
hClipData
);
cBytes
=
GlobalSize
(
hClipData
);
TRACE
(
"
\t
Updating property %s, %d bytes...
\n
"
,
TSXGetAtomName
(
display
,
rprop
),
cBytes
);
...
...
@@ -915,7 +915,7 @@ static Atom EVENT_SelectionRequest_WCF( Display *display, Window requestor,
(
unsigned
char
*
)
lpClipData
,
cBytes
);
TRACE
(
"(Rc=%d)
\n
"
,
xRc
);
GlobalUnlock
16
(
hClipData
);
GlobalUnlock
(
hClipData
);
}
else
{
...
...
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