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
52183f91
Commit
52183f91
authored
Mar 30, 2021
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 30, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxdiagn: Use nameless unions.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a1e47a31
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
Makefile.in
dlls/dxdiagn/Makefile.in
+0
-1
provider.c
dlls/dxdiagn/provider.c
+4
-4
No files found.
dlls/dxdiagn/Makefile.in
View file @
52183f91
MODULE
=
dxdiagn.dll
MODULE
=
dxdiagn.dll
IMPORTS
=
strmiids dxguid uuid d3d9 ddraw dsound version ole32 oleaut32 user32 advapi32
IMPORTS
=
strmiids dxguid uuid d3d9 ddraw dsound version ole32 oleaut32 user32 advapi32
EXTRADEFS
=
-DWINE_NO_NAMELESS_EXTENSION
EXTRADLLFLAGS
=
-mno-cygwin
EXTRADLLFLAGS
=
-mno-cygwin
...
...
dlls/dxdiagn/provider.c
View file @
52183f91
...
@@ -1548,16 +1548,16 @@ static HRESULT fill_filter_data_information(IDxDiagContainerImpl_Container *subc
...
@@ -1548,16 +1548,16 @@ static HRESULT fill_filter_data_information(IDxDiagContainerImpl_Container *subc
if
(
pRF
->
dwVersion
==
1
)
if
(
pRF
->
dwVersion
==
1
)
{
{
for
(
j
=
0
;
j
<
pRF
->
u
.
s1
.
cPins
;
j
++
)
for
(
j
=
0
;
j
<
pRF
->
cPins
;
j
++
)
if
(
pRF
->
u
.
s1
.
rgPins
[
j
].
bOutput
)
if
(
pRF
->
rgPins
[
j
].
bOutput
)
dwNOutputs
++
;
dwNOutputs
++
;
else
else
dwNInputs
++
;
dwNInputs
++
;
}
}
else
if
(
pRF
->
dwVersion
==
2
)
else
if
(
pRF
->
dwVersion
==
2
)
{
{
for
(
j
=
0
;
j
<
pRF
->
u
.
s2
.
cPins2
;
j
++
)
for
(
j
=
0
;
j
<
pRF
->
cPins2
;
j
++
)
if
(
pRF
->
u
.
s2
.
rgPins2
[
j
].
dwFlags
&
REG_PINFLAG_B_OUTPUT
)
if
(
pRF
->
rgPins2
[
j
].
dwFlags
&
REG_PINFLAG_B_OUTPUT
)
dwNOutputs
++
;
dwNOutputs
++
;
else
else
dwNInputs
++
;
dwNInputs
++
;
...
...
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