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
502f6c56
Commit
502f6c56
authored
Jan 07, 2004
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed incorrect uses of DUMMYUNIONNAME.
parent
8cbb94ca
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
treeview.c
dlls/comctl32/treeview.c
+1
-1
suminfo.c
dlls/msi/suminfo.c
+5
-5
brsfolder.c
dlls/shell32/brsfolder.c
+1
-1
No files found.
dlls/comctl32/treeview.c
View file @
502f6c56
...
...
@@ -1161,7 +1161,7 @@ TREEVIEW_DoSetItemT(TREEVIEW_INFO *infoPtr, TREEVIEW_ITEM *wineItem,
static
LRESULT
TREEVIEW_InsertItemT
(
TREEVIEW_INFO
*
infoPtr
,
const
TVINSERTSTRUCTW
*
ptdi
,
BOOL
isW
)
{
const
TVITEMEXW
*
tvItem
=
&
ptdi
->
DUMMYUNIONNAME
.
itemex
;
const
TVITEMEXW
*
tvItem
=
&
ptdi
->
u
.
itemex
;
HTREEITEM
insertAfter
;
TREEVIEW_ITEM
*
newItem
,
*
parentItem
;
BOOL
bTextUpdated
=
FALSE
;
...
...
dlls/msi/suminfo.c
View file @
502f6c56
...
...
@@ -180,7 +180,7 @@ UINT WINAPI MsiSummaryInfoGetPropertyA(
return
ERROR_INVALID_HANDLE
;
spec
.
ulKind
=
PRSPEC_PROPID
;
spec
.
DUMMYUNIONNAME
.
propid
=
uiProperty
;
spec
.
u
.
propid
=
uiProperty
;
r
=
IPropertyStorage_ReadMultiple
(
suminfo
->
propstg
,
1
,
&
spec
,
&
var
);
if
(
FAILED
(
r
)
)
...
...
@@ -193,18 +193,18 @@ UINT WINAPI MsiSummaryInfoGetPropertyA(
{
case
VT_I4
:
if
(
piValue
)
*
piValue
=
var
.
DUMMYUNIONNAME
.
lVal
;
*
piValue
=
var
.
u
.
lVal
;
break
;
case
VT_LPSTR
:
if
(
pcchValueBuf
&&
szValueBuf
)
{
lstrcpynA
(
szValueBuf
,
var
.
DUMMYUNIONNAME
.
pszVal
,
*
pcchValueBuf
);
*
pcchValueBuf
=
lstrlenA
(
var
.
DUMMYUNIONNAME
.
pszVal
);
lstrcpynA
(
szValueBuf
,
var
.
u
.
pszVal
,
*
pcchValueBuf
);
*
pcchValueBuf
=
lstrlenA
(
var
.
u
.
pszVal
);
}
break
;
case
VT_FILETIME
:
if
(
pftValue
)
memcpy
(
pftValue
,
&
var
.
DUMMYUNIONNAME
.
filetime
,
sizeof
(
FILETIME
)
);
memcpy
(
pftValue
,
&
var
.
u
.
filetime
,
sizeof
(
FILETIME
)
);
break
;
case
VT_EMPTY
:
break
;
...
...
dlls/shell32/brsfolder.c
View file @
502f6c56
...
...
@@ -202,7 +202,7 @@ static HTREEITEM InsertTreeViewItem(IShellFolder * lpsf, LPCITEMIDLIST pidl, LPC
lptvid
->
pEnumIL
=
pEnumIL
;
GetNormalAndSelectedIcons
(
lptvid
->
lpifq
,
&
tvi
);
tvins
.
DUMMYUNIONNAME
.
item
=
tvi
;
tvins
.
u
.
item
=
tvi
;
tvins
.
hInsertAfter
=
NULL
;
tvins
.
hParent
=
hParent
;
...
...
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