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
5d038523
Commit
5d038523
authored
Mar 22, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Mar 24, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Assign to structs instead of using memcpy.
parent
7b380e0a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
clipboard.c
dlls/winex11.drv/clipboard.c
+1
-1
wintab.c
dlls/winex11.drv/wintab.c
+1
-1
xrender.c
dlls/winex11.drv/xrender.c
+1
-1
No files found.
dlls/winex11.drv/clipboard.c
View file @
5d038523
...
...
@@ -2900,7 +2900,7 @@ static Atom X11DRV_SelectionRequest_MULTIPLE( HWND hWnd, XSelectionRequestEvent
}
/* Set up an XSelectionRequestEvent for this (target,property) pair */
memcpy
(
&
event
,
pevent
,
sizeof
(
XSelectionRequestEvent
)
)
;
event
=
*
pevent
;
event
.
target
=
targetPropList
[
i
];
event
.
property
=
targetPropList
[
i
+
1
];
...
...
dlls/winex11.drv/wintab.c
View file @
5d038523
...
...
@@ -984,7 +984,7 @@ int X11DRV_AttachEventQueueToTablet(HWND hOwner)
*/
int
X11DRV_GetCurrentPacket
(
LPWTPACKET
packet
)
{
memcpy
(
packet
,
&
gMsgPacket
,
sizeof
(
WTPACKET
))
;
*
packet
=
gMsgPacket
;
return
1
;
}
...
...
dlls/winex11.drv/xrender.c
View file @
5d038523
...
...
@@ -806,7 +806,7 @@ static BOOL UploadGlyph(X11DRV_PDEVICE *physDev, int glyph, AA_Type format)
formatEntry
->
bitmaps
[
glyph
]
=
buf
;
}
memcpy
(
&
formatEntry
->
gis
[
glyph
],
&
gi
,
sizeof
(
gi
))
;
formatEntry
->
gis
[
glyph
]
=
gi
;
return
TRUE
;
}
...
...
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