mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +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:
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user