mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 22:01:43 +00:00
[shell32]
partial SHGetFileInfoW winesync to wine 1.1.35 (fixes uninitialized memory access) svn path=/trunk/; revision=44728
This commit is contained in:
parent
16efd1a5a0
commit
f89743a362
1 changed files with 1 additions and 1 deletions
|
@ -538,7 +538,7 @@ DWORD_PTR WINAPI SHGetFileInfoW(LPCWSTR path,DWORD dwFileAttributes,
|
|||
/* get icon index (or load icon)*/
|
||||
if (SUCCEEDED(hr) && (flags & (SHGFI_ICON | SHGFI_SYSICONINDEX)))
|
||||
{
|
||||
if (flags & SHGFI_USEFILEATTRIBUTES)
|
||||
if (flags & SHGFI_USEFILEATTRIBUTES && !(flags & SHGFI_PIDL))
|
||||
{
|
||||
WCHAR sTemp [MAX_PATH];
|
||||
WCHAR * szExt;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue