Commit 494b169c authored by Richard Cohen's avatar Richard Cohen Committed by Alexandre Julliard

Move TRACE inside TRY block.

parent 55909283
......@@ -274,13 +274,13 @@ NTSTATUS WINAPI LdrFindResourceDirectory_U( HMODULE hmod, const LDR_RESOURCE_INF
const void *res;
NTSTATUS status;
if (info) TRACE( "module %p type %s name %s lang %04lx level %ld\n",
__TRY
{
if (info) TRACE( "module %p type %s name %s lang %04lx level %ld\n",
hmod, debugstr_w((LPCWSTR)info->Type),
level > 1 ? debugstr_w((LPCWSTR)info->Name) : "",
level > 2 ? info->Language : 0, level );
__TRY
{
status = find_entry( hmod, info, level, &res, TRUE );
if (status == STATUS_SUCCESS) *dir = res;
}
......@@ -302,13 +302,13 @@ NTSTATUS WINAPI LdrFindResource_U( HMODULE hmod, const LDR_RESOURCE_INFO *info,
const void *res;
NTSTATUS status;
if (info) TRACE( "module %p type %s name %s lang %04lx level %ld\n",
__TRY
{
if (info) TRACE( "module %p type %s name %s lang %04lx level %ld\n",
hmod, debugstr_w((LPCWSTR)info->Type),
level > 1 ? debugstr_w((LPCWSTR)info->Name) : "",
level > 2 ? info->Language : 0, level );
__TRY
{
status = find_entry( hmod, info, level, &res, FALSE );
if (status == STATUS_SUCCESS) *entry = res;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment