Commit 6b38139e authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

msi: Remove a level of indent in resolve_folder().

parent 4052b8be
......@@ -201,7 +201,7 @@ LPWSTR resolve_folder(MSIPACKAGE *package, LPCWSTR name, BOOL source,
BOOL set_prop, MSIFOLDER **folder)
{
MSIFOLDER *f;
LPWSTR p, path = NULL;
LPWSTR p, path = NULL, parent;
TRACE("Working to resolve %s\n",debugstr_w(name));
......@@ -267,9 +267,10 @@ LPWSTR resolve_folder(MSIPACKAGE *package, LPCWSTR name, BOOL source,
return path;
}
if (f->Parent)
{
LPWSTR parent = f->Parent->Directory;
if (!f->Parent)
return path;
parent = f->Parent->Directory;
TRACE(" ! Parent is %s\n", debugstr_w(parent));
......@@ -320,7 +321,7 @@ LPWSTR resolve_folder(MSIPACKAGE *package, LPCWSTR name, BOOL source,
f->ResolvedSource = strdupW( path );
}
msi_free(p);
}
return path;
}
......
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