mirror of
https://github.com/reactos/reactos.git
synced 2025-06-20 07:36:05 +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)
|
if (ResourceInfo)
|
||||||
{
|
{
|
||||||
DPRINT( "module %p type %ws name %ws lang %04lx level %lu\n",
|
DPRINT1( "module %p type %lx name %lx lang %04lx level %lu\n",
|
||||||
BaseAddress, (LPCWSTR)ResourceInfo->Type,
|
BaseAddress, ResourceInfo->Type,
|
||||||
Level > 1 ? (LPCWSTR)ResourceInfo->Name : L"",
|
Level > 1 ? ResourceInfo->Name : 0,
|
||||||
Level > 2 ? ResourceInfo->Language : 0, Level );
|
Level > 2 ? ResourceInfo->Language : 0, Level );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue