Author: spetreolle
Date: Sun Nov 17 14:11:08 2013
New Revision: 61015
URL:
http://svn.reactos.org/svn/reactos?rev=61015&view=rev
Log:
[RTL]
Fix crashing DPRINT into LdrFindResource_U.
Thanks to ThFabba for the tip.
Modified:
trunk/reactos/lib/rtl/res.c
Modified: trunk/reactos/lib/rtl/res.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/res.c?rev=61015&am…
==============================================================================
--- trunk/reactos/lib/rtl/res.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/res.c [iso-8859-1] Sun Nov 17 14:11:08 2013
@@ -218,9 +218,9 @@
{
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 );
}