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
959edd5c
Commit
959edd5c
authored
Mar 03, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Mar 03, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Fix some gcc 4.1 warnings caused by casts in macros.
parent
29c3a543
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
brsfolder.c
dlls/shell32/brsfolder.c
+5
-4
No files found.
dlls/shell32/brsfolder.c
View file @
959edd5c
...
...
@@ -108,7 +108,7 @@ static void InitializeTreeView( browse_info *info )
Shell_GetImageList
(
NULL
,
&
hImageList
);
if
(
hImageList
)
TreeView_SetImageList
(
info
->
hwndTreeView
,
hImageList
,
0
);
SendMessageW
(
info
->
hwndTreeView
,
TVM_SETIMAGELIST
,
0
,
(
LPARAM
)
hImageList
);
/* We want to call InsertTreeViewItem down the code, in order to insert
* the root item of the treeview. Due to InsertTreeViewItem's signature,
...
...
@@ -166,10 +166,10 @@ static void InitializeTreeView( browse_info *info )
return
;
}
TreeView_DeleteAllItems
(
info
->
hwndTreeView
);
SendMessageW
(
info
->
hwndTreeView
,
TVM_DELETEITEM
,
0
,
(
LPARAM
)
TVI_ROOT
);
item
=
InsertTreeViewItem
(
info
,
lpsfParent
,
pidlChild
,
pidlParent
,
pEnumChildren
,
TVI_ROOT
);
TreeView_Expand
(
info
->
hwndTreeView
,
item
,
TVE_EXPAND
);
SendMessageW
(
info
->
hwndTreeView
,
TVM_EXPAND
,
TVE_EXPAND
,
(
LPARAM
)
item
);
IShellFolder_Release
(
lpsfRoot
);
IShellFolder_Release
(
lpsfParent
);
...
...
@@ -440,7 +440,8 @@ static LRESULT BrsFolder_Treeview_Expand( browse_info *info, NMTREEVIEWW *pnmtv
/* My Computer is already sorted and trying to do a simple text
* sort will only mess things up */
if
(
!
_ILIsMyComputer
(
lptvid
->
lpi
))
TreeView_SortChildren
(
info
->
hwndTreeView
,
pnmtv
->
itemNew
.
hItem
,
FALSE
);
SendMessageW
(
info
->
hwndTreeView
,
TVM_SORTCHILDREN
,
FALSE
,
(
LPARAM
)
pnmtv
->
itemNew
.
hItem
);
return
0
;
}
...
...
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