- Make a debug print less useless

svn path=/trunk/; revision=68617
This commit is contained in:
Thomas Faber 2015-08-07 17:30:12 +00:00
parent 61359d4e52
commit 176bad4690

View file

@ -1862,14 +1862,14 @@ CURSORICON_CopyImage(
if (!IS_INTRESOURCE(ustrRsrc.Buffer))
ustrRsrc.Buffer[ustrRsrc.Length/sizeof(WCHAR)] = UNICODE_NULL;
TRACE("Got module %S, resource %p (%S).\n", ustrModule.Buffer,
TRACE("Got module %wZ, resource %p (%S).\n", &ustrModule,
ustrRsrc.Buffer, IS_INTRESOURCE(ustrRsrc.Buffer) ? L"" : ustrRsrc.Buffer);
/* Get the module handle */
if (!GetModuleHandleExW(0, ustrModule.Buffer, &hModule))
{
/* This should never happen */
ERR("Invalid handle?.\n");
ERR("Invalid handle? Module='%wZ', error %lu.\n", &ustrModule, GetLastError());
SetLastError(ERROR_INVALID_PARAMETER);
goto leave;
}