mirror of
https://github.com/reactos/reactos.git
synced 2025-07-06 07:01:22 +00:00
[RSHELL]
* Fix a 6am whoops. * Simplify the FindPidlInList method. svn path=/branches/shell-experiments/; revision=63659
This commit is contained in:
parent
f03fef66d1
commit
dec446e288
2 changed files with 14 additions and 75 deletions
|
@ -1260,7 +1260,7 @@ HRESULT CMenuSFToolbar::FillToolbar(BOOL clearFirst)
|
|||
IEnumIDList * eidl;
|
||||
m_shellFolder->EnumObjects(GetToolbar(), SHCONTF_FOLDERS | SHCONTF_NONFOLDERS, &eidl);
|
||||
|
||||
LPITEMIDLIST item = { 0 };
|
||||
LPITEMIDLIST item = NULL;
|
||||
hr = eidl->Next(1, &item, NULL);
|
||||
while (hr == S_OK)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue