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
43890667
Commit
43890667
authored
Oct 02, 2008
by
Lei Zhang
Committed by
Alexandre Julliard
Oct 02, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regedit: Use W version of TreeView_GetItem.
parent
8595ffad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
treeview.c
programs/regedit/treeview.c
+2
-2
No files found.
programs/regedit/treeview.c
View file @
43890667
...
...
@@ -57,7 +57,7 @@ static BOOL get_item_path(HWND hwndTV, HTREEITEM hItem, HKEY* phKey, LPWSTR* pKe
item
.
mask
=
TVIF_PARAM
;
item
.
hItem
=
hItem
;
if
(
!
TreeView_GetItem
(
hwndTV
,
&
item
))
return
FALSE
;
if
(
!
TreeView_GetItem
W
(
hwndTV
,
&
item
))
return
FALSE
;
if
(
item
.
lParam
)
{
/* found root key with valid key value */
...
...
@@ -216,7 +216,7 @@ static BOOL match_item(HWND hwndTV, HTREEITEM hItem, LPCWSTR sstring, int mode,
item
.
hItem
=
hItem
;
item
.
pszText
=
keyname
;
item
.
cchTextMax
=
KEY_MAX_LEN
;
if
(
!
TreeView_GetItem
(
hwndTV
,
&
item
))
return
FALSE
;
if
(
!
TreeView_GetItem
W
(
hwndTV
,
&
item
))
return
FALSE
;
if
((
mode
&
SEARCH_KEYS
)
&&
match_string
(
keyname
,
sstring
,
mode
))
{
*
row
=
-
1
;
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