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
9b5d26ed
Commit
9b5d26ed
authored
Jul 12, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Jul 14, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Remove unneeded address-of operators from array names.
parent
1fd750cf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
wintab.c
dlls/winex11.drv/wintab.c
+7
-7
xrender.c
dlls/winex11.drv/xrender.c
+1
-1
No files found.
dlls/winex11.drv/wintab.c
View file @
9b5d26ed
...
...
@@ -1129,7 +1129,7 @@ UINT X11DRV_WTInfoW(UINT wCategory, UINT nIndex, LPVOID lpOutput)
sizeof
(
LOGCONTEXTW
));
break
;
case
CTX_NAME
:
rc
=
CopyTabletData
(
lpOutput
,
&
gSysContext
.
lcName
,
rc
=
CopyTabletData
(
lpOutput
,
gSysContext
.
lcName
,
(
strlenW
(
gSysContext
.
lcName
)
+
1
)
*
sizeof
(
WCHAR
));
break
;
case
CTX_OPTIONS
:
...
...
@@ -1293,7 +1293,7 @@ UINT X11DRV_WTInfoW(UINT wCategory, UINT nIndex, LPVOID lpOutput)
switch
(
nIndex
)
{
case
CSR_NAME
:
rc
=
CopyTabletData
(
lpOutput
,
&
tgtcursor
->
NAME
,
rc
=
CopyTabletData
(
lpOutput
,
tgtcursor
->
NAME
,
(
strlenW
(
tgtcursor
->
NAME
)
+
1
)
*
sizeof
(
WCHAR
));
break
;
case
CSR_ACTIVE
:
...
...
@@ -1318,15 +1318,15 @@ UINT X11DRV_WTInfoW(UINT wCategory, UINT nIndex, LPVOID lpOutput)
tgtcursor
->
cchBTNNAMES
*
sizeof
(
WCHAR
));
break
;
case
CSR_BUTTONMAP
:
rc
=
CopyTabletData
(
lpOutput
,
&
tgtcursor
->
BUTTONMAP
,
rc
=
CopyTabletData
(
lpOutput
,
tgtcursor
->
BUTTONMAP
,
sizeof
(
BYTE
)
*
32
);
break
;
case
CSR_SYSBTNMAP
:
rc
=
CopyTabletData
(
lpOutput
,
&
tgtcursor
->
SYSBTNMAP
,
rc
=
CopyTabletData
(
lpOutput
,
tgtcursor
->
SYSBTNMAP
,
sizeof
(
BYTE
)
*
32
);
break
;
case
CSR_NPBTNMARKS
:
rc
=
CopyTabletData
(
lpOutput
,
&
tgtcursor
->
NPBTNMARKS
,
rc
=
CopyTabletData
(
lpOutput
,
tgtcursor
->
NPBTNMARKS
,
sizeof
(
UINT
)
*
2
);
break
;
case
CSR_NPBUTTON
:
...
...
@@ -1342,7 +1342,7 @@ UINT X11DRV_WTInfoW(UINT wCategory, UINT nIndex, LPVOID lpOutput)
sizeof
(
BYTE
));
break
;
case
CSR_TPBTNMARKS
:
rc
=
CopyTabletData
(
lpOutput
,
&
tgtcursor
->
TPBTNMARKS
,
rc
=
CopyTabletData
(
lpOutput
,
tgtcursor
->
TPBTNMARKS
,
sizeof
(
UINT
)
*
2
);
break
;
case
CSR_TPRESPONSE
:
...
...
@@ -1458,7 +1458,7 @@ UINT X11DRV_WTInfoW(UINT wCategory, UINT nIndex, LPVOID lpOutput)
*/
break
;
case
DVC_ORIENTATION
:
rc
=
CopyTabletData
(
lpOutput
,
&
gSysDevice
.
ORIENTATION
,
rc
=
CopyTabletData
(
lpOutput
,
gSysDevice
.
ORIENTATION
,
sizeof
(
AXIS
)
*
3
);
break
;
case
DVC_ROTATION
:
...
...
dlls/winex11.drv/xrender.c
View file @
9b5d26ed
...
...
@@ -502,7 +502,7 @@ static void lfsz_calc_hash(LFANDSIZE *plfsz)
hash
^=
plfsz
->
devsize
.
cy
;
for
(
i
=
0
,
ptr
=
(
DWORD
*
)
&
plfsz
->
lf
;
i
<
7
;
i
++
,
ptr
++
)
hash
^=
*
ptr
;
for
(
i
=
0
,
ptr
=
(
DWORD
*
)
&
plfsz
->
lf
.
lfFaceName
;
i
<
LF_FACESIZE
/
2
;
i
++
,
ptr
++
)
{
for
(
i
=
0
,
ptr
=
(
DWORD
*
)
plfsz
->
lf
.
lfFaceName
;
i
<
LF_FACESIZE
/
2
;
i
++
,
ptr
++
)
{
WCHAR
*
pwc
=
(
WCHAR
*
)
ptr
;
if
(
!*
pwc
)
break
;
hash
^=
*
ptr
;
...
...
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