shell32: Fix SHGetFolderPathAndSubDir() trace message.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f3693d2b46
commit
f75d562596
|
@ -3935,7 +3935,8 @@ HRESULT WINAPI SHGetFolderPathAndSubDirA(
|
||||||
HRESULT hr = S_OK;
|
HRESULT hr = S_OK;
|
||||||
LPWSTR pszSubPathW = NULL;
|
LPWSTR pszSubPathW = NULL;
|
||||||
LPWSTR pszPathW = NULL;
|
LPWSTR pszPathW = NULL;
|
||||||
TRACE("%08x,%08x,%s\n",nFolder, dwFlags, debugstr_w(pszSubPathW));
|
|
||||||
|
TRACE("%p,%#x,%p,%#x,%s,%p\n", hwndOwner, nFolder, hToken, dwFlags, debugstr_a(pszSubPath), pszPath);
|
||||||
|
|
||||||
if(pszPath) {
|
if(pszPath) {
|
||||||
pszPathW = HeapAlloc(GetProcessHeap(), 0, MAX_PATH * sizeof(WCHAR));
|
pszPathW = HeapAlloc(GetProcessHeap(), 0, MAX_PATH * sizeof(WCHAR));
|
||||||
|
@ -3988,7 +3989,7 @@ HRESULT WINAPI SHGetFolderPathAndSubDirW(
|
||||||
CSIDL_Type type;
|
CSIDL_Type type;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
TRACE("%p,%p,nFolder=0x%04x,%s\n", hwndOwner,pszPath,nFolder,debugstr_w(pszSubPath));
|
TRACE("%p,%#x,%p,%#x,%s,%p\n", hwndOwner, nFolder, hToken, dwFlags, debugstr_w(pszSubPath), pszPath);
|
||||||
|
|
||||||
/* Windows always NULL-terminates the resulting path regardless of success
|
/* Windows always NULL-terminates the resulting path regardless of success
|
||||||
* or failure, so do so first
|
* or failure, so do so first
|
||||||
|
|
Loading…
Reference in New Issue