fix for mingw build

svn path=/trunk/; revision=6095
This commit is contained in:
Martin Fuchs 2003-09-18 22:48:17 +00:00
parent b0665e94ab
commit 2efa56ff58

View file

@ -329,8 +329,8 @@ LPITEMIDLIST ShellPath::create_absolute_pidl(LPCITEMIDLIST parent_pidl, HWND hwn
{
static DynamicFct<LPITEMIDLIST(WINAPI*)(LPCITEMIDLIST, LPCITEMIDLIST)> ILCombine(_T("SHELL32"), 25);
if (ILCombine.found())
return ILCombine(parent_pidl, _p);
if (ILCombine)
return (*ILCombine)(parent_pidl, _p);
// create a new item id list with _p append behind parent_pidl
int l1 = _malloc->GetSize((void*)parent_pidl) - sizeof(USHORT/*SHITEMID::cb*/);