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
b27587dd
Commit
b27587dd
authored
Mar 26, 2003
by
Mike Hearn
Committed by
Alexandre Julliard
Mar 26, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TREEVIEW_GetItemA should ignore stateMask.
parent
1c481f3d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
treeview.c
dlls/comctl32/treeview.c
+6
-2
No files found.
dlls/comctl32/treeview.c
View file @
b27587dd
...
...
@@ -2016,8 +2016,12 @@ TREEVIEW_GetItemA(TREEVIEW_INFO *infoPtr, LPTVITEMEXA tvItem)
if
(
tvItem
->
mask
&
TVIF_SELECTEDIMAGE
)
tvItem
->
iSelectedImage
=
wineItem
->
iSelectedImage
;
if
(
tvItem
->
mask
&
TVIF_STATE
)
tvItem
->
state
=
wineItem
->
state
&
tvItem
->
stateMask
;
if
(
tvItem
->
mask
&
TVIF_STATE
)
{
/* Careful here - Windows ignores the stateMask when you get the state
That contradicts the documentation, but makes more common sense, masking
retrieval in this way seems overkill */
tvItem
->
state
=
wineItem
->
state
;
}
if
(
tvItem
->
mask
&
TVIF_TEXT
)
lstrcpynA
(
tvItem
->
pszText
,
wineItem
->
pszText
,
tvItem
->
cchTextMax
);
...
...
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