X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Fdll%2Fwin32%2Fshell32%2FCShellLink.cpp;h=f10cf927ebf79a7997b012479afa59266a7fef39;hp=872e0ca5a0b7ea3953a8b514c0ad0c1e763d8692;hb=e78b6c517934905bfe8e9bba52fc0547295af0cc;hpb=23733b786744899708e1df660625d68230274b21 diff --git a/reactos/dll/win32/shell32/CShellLink.cpp b/reactos/dll/win32/shell32/CShellLink.cpp index 872e0ca5a0b..f10cf927ebf 100644 --- a/reactos/dll/win32/shell32/CShellLink.cpp +++ b/reactos/dll/win32/shell32/CShellLink.cpp @@ -1072,7 +1072,7 @@ HRESULT STDMETHODCALLTYPE CShellLink::GetPath(LPSTR pszFile, INT cchMaxPath, WIN ZeroMemory(pfd, sizeof(*pfd)); /* Copy the file data if a file path was returned */ - if (*pszFileW) + if (*pszFile) { /* Copy the fixed part */ CopyMemory(pfd, &wfd, FIELD_OFFSET(WIN32_FIND_DATAA, cFileName)); @@ -3050,4 +3050,4 @@ HRESULT WINAPI IShellLink_ConstructFromFile(IShellFolder * psf, LPCITEMIDLIST pi return E_FAIL; return IShellLink_ConstructFromPath(path, riid, ppv); -} \ No newline at end of file +}