mirror of
https://github.com/reactos/reactos.git
synced 2025-06-05 17:30:32 +00:00
[RTL]
Fix crashing DPRINT into LdrFindResource_U. Thanks to ThFabba for the tip. svn path=/trunk/; revision=61015
This commit is contained in:
parent
6abf558a05
commit
3755f648f7
1 changed files with 3 additions and 3 deletions
|
@ -218,9 +218,9 @@ LdrFindResource_U(PVOID BaseAddress,
|
|||
{
|
||||
if (ResourceInfo)
|
||||
{
|
||||
DPRINT( "module %p type %ws name %ws lang %04lx level %lu\n",
|
||||
BaseAddress, (LPCWSTR)ResourceInfo->Type,
|
||||
Level > 1 ? (LPCWSTR)ResourceInfo->Name : L"",
|
||||
DPRINT1( "module %p type %lx name %lx lang %04lx level %lu\n",
|
||||
BaseAddress, ResourceInfo->Type,
|
||||
Level > 1 ? ResourceInfo->Name : 0,
|
||||
Level > 2 ? ResourceInfo->Language : 0, Level );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue