From 176bad46909cae544bcfcc69d710a6f90d9fbcbb Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Fri, 7 Aug 2015 17:30:12 +0000 Subject: [PATCH] [USER32] - Make a debug print less useless svn path=/trunk/; revision=68617 --- reactos/win32ss/user/user32/windows/cursoricon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/win32ss/user/user32/windows/cursoricon.c b/reactos/win32ss/user/user32/windows/cursoricon.c index c0b29e331c8..df9a42b3ec2 100644 --- a/reactos/win32ss/user/user32/windows/cursoricon.c +++ b/reactos/win32ss/user/user32/windows/cursoricon.c @@ -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; }