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
6d91fd8c
Commit
6d91fd8c
authored
May 04, 2008
by
James Hawkins
Committed by
Alexandre Julliard
May 05, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Use the handle to the treeview item if the item text is not returned.
parent
56bfe297
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
dialog.c
dlls/msi/dialog.c
+12
-2
No files found.
dlls/msi/dialog.c
View file @
6d91fd8c
...
...
@@ -2055,7 +2055,8 @@ static UINT msi_dialog_seltree_handler( msi_dialog *dialog,
LPNMTREEVIEWW
tv
=
(
LPNMTREEVIEWW
)
param
;
MSIRECORD
*
row
,
*
rec
;
MSIFOLDER
*
folder
;
LPCWSTR
dir
;
MSIFEATURE
*
feature
;
LPCWSTR
dir
,
title
=
NULL
;
UINT
r
=
ERROR_SUCCESS
;
static
const
WCHAR
select
[]
=
{
...
...
@@ -2069,7 +2070,16 @@ static UINT msi_dialog_seltree_handler( msi_dialog *dialog,
info
->
selected
=
tv
->
itemNew
.
hItem
;
row
=
MSI_QueryGetRecord
(
dialog
->
package
->
db
,
select
,
tv
->
itemNew
.
pszText
);
if
(
!
(
tv
->
itemNew
.
mask
&
TVIF_TEXT
))
{
feature
=
msi_seltree_feature_from_item
(
control
->
hwnd
,
tv
->
itemNew
.
hItem
);
if
(
feature
)
title
=
feature
->
Title
;
}
else
title
=
tv
->
itemNew
.
pszText
;
row
=
MSI_QueryGetRecord
(
dialog
->
package
->
db
,
select
,
title
);
if
(
!
row
)
return
ERROR_FUNCTION_FAILED
;
...
...
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