From edfca5b7fe0bd7516f6bb225aba04e4c8562a9fd Mon Sep 17 00:00:00 2001 From: Juergen Schmied Date: Fri, 18 Dec 1998 14:41:56 +0000 Subject: [PATCH] ILAppend seems to work now. --- dlls/shell32/pidl.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dlls/shell32/pidl.c b/dlls/shell32/pidl.c index 6c25d0b2c33..a2f29a902c2 100644 --- a/dlls/shell32/pidl.c +++ b/dlls/shell32/pidl.c @@ -403,7 +403,12 @@ LPITEMIDLIST WINAPI ILAppend(LPITEMIDLIST pidl,LPCITEMIDLIST item,BOOL32 bEnd) SHFree (pidl); return idlRet; } - idlRet=ILCombine(pidl,item); + if (bEnd) + { idlRet=ILCombine(pidl,item); + } + else + { idlRet=ILCombine(item,pidl); + } SHFree(pidl); return idlRet; }