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); static DynamicFct<LPITEMIDLIST(WINAPI*)(LPCITEMIDLIST, LPCITEMIDLIST)> ILCombine(_T("SHELL32"), 25);
if (ILCombine.found()) if (ILCombine)
return ILCombine(parent_pidl, _p); return (*ILCombine)(parent_pidl, _p);
// create a new item id list with _p append behind parent_pidl // create a new item id list with _p append behind parent_pidl
int l1 = _malloc->GetSize((void*)parent_pidl) - sizeof(USHORT/*SHITEMID::cb*/); int l1 = _malloc->GetSize((void*)parent_pidl) - sizeof(USHORT/*SHITEMID::cb*/);